File tree Expand file tree Collapse file tree 7 files changed +53
-0
lines changed Expand file tree Collapse file tree 7 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 1+ # Directories
2+ /.wordpress-org export-ignore
3+ /.github export-ignore
4+
5+ # Files
6+ /.gitattributes export-ignore
7+ /.gitignore export-ignore
Original file line number Diff line number Diff line change 1+ name : Deploy to WordPress.org
2+ on :
3+ release :
4+ types : [published]
5+ jobs :
6+ tag :
7+ name : New release
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v2
12+ - name : WordPress Plugin Deploy
13+ id : deploy
14+ uses : 10up/action-wordpress-plugin-deploy@stable
15+ with :
16+ generate-zip : true
17+ env :
18+ SVN_USERNAME : ${{ secrets.SVN_USERNAME }}
19+ SVN_PASSWORD : ${{ secrets.SVN_PASSWORD }}
20+ SLUG : gravity-forms-entry-expiration
21+ - name : Upload release asset
22+ uses : actions/upload-release-asset@v1
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ with :
26+ upload_url : ${{ github.event.release.upload_url }}
27+ asset_path : ${{github.workspace}}/${{ github.event.repository.name }}.zip
28+ asset_name : ${{ github.event.repository.name }}.zip
29+ asset_content_type : application/zip
Original file line number Diff line number Diff line change 1+ name : Deploy to WordPress.org
2+ on :
3+ push :
4+ tags :
5+ - " *"
6+ jobs :
7+ tag :
8+ name : New tag
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@master
12+ - name : WordPress Plugin Deploy
13+ uses : 10up/action-wordpress-plugin-deploy@stable
14+ env :
15+ SVN_PASSWORD : ${{ secrets.SVN_PASSWORD }}
16+ SVN_USERNAME : ${{ secrets.SVN_USERNAME }}
17+ SLUG : gravity-forms-entry-expiration
You can’t perform that action at this time.
0 commit comments