ignore zip upload to svn #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build release zip (save on Github) | |
on: | |
push: | |
tags: | |
- 'v*' | |
pull_request: | |
tags: | |
- 'v*' | |
jobs: | |
tag: | |
name: New tag | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build plugin # Remove or modify this step as needed | |
run: | | |
npm install | |
npm run build | |
npm run plugin-zip | |
- name: Create GitHub release | |
uses: softprops/action-gh-release@v1 | |
with: | |
files: ${{github.workspace}}/${{ github.event.repository.name }}.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: WordPress Plugin Deploy | |
uses: nk-o/action-wordpress-plugin-deploy@master | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | |
SLUG: carbonbadge-block |