File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.distignore
2- .github
2+ .env
33.git
4- CHANGELOG.md
4+ .github
5+ .gitattributes
6+ .gitignore
7+ .idea
8+ .lando.yml
9+ bin
10+ tests
11+ codeception.dist.yml
512composer.json
6- LICENSE.md
7- README.md
13+ composer.lock
14+ grumphp.yml
15+ phpcs.ruleset.xml
16+ phpcs.xml
17+ phpunit.xml.dist
Original file line number Diff line number Diff line change 1+ name : Upload Release Asset
2+
3+ on :
4+ push :
5+ # Sequence of patterns matched against refs/tags
6+ tags :
7+ - ' *' # Push events to matching *
8+
9+ jobs :
10+ build :
11+ name : Upload Release Asset
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+
17+ - name : Publish to WP.org
18+ uses : 10up/action-wordpress-plugin-deploy@stable
19+ with :
20+ generate-zip : true
21+ env :
22+ SVN_PASSWORD : ${{ secrets.SVN_PASSWORD }}
23+ SVN_USERNAME : ${{ secrets.SVN_USERNAME }}
24+ SLUG : bea-sanitize-filename
25+
26+ - name : Upload Release
27+ uses : actions/upload-release-asset@v1
28+ env :
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ with :
31+ upload_url : ${{ github.event.release.upload_url }}
32+ asset_path : ${{github.workspace}}/${{ github.event.repository.name }}.zip
33+ asset_name : bea-sanitize-filename.zip
34+ asset_content_type : application/zip
You can’t perform that action at this time.
0 commit comments