Skip to content

Commit

Permalink
Changes Github workflow to enable zip attachment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed Nov 14, 2024
1 parent 9324145 commit 1a32733
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: WordPress Plugin Deploy
- name: Deploy plugin to WordPress official repository
id: wordpress_plugin_deploy
uses: Pierre-Lannoy/wordpress-actions/dotorg-plugin-deploy@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLUG: traffic
NAME: Traffic
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
- name: Adding plugin zip to release
uses: softprops/action-gh-release@v1
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: ${{ steps.wordpress_plugin_deploy.outputs.zip_file }}

0 comments on commit 1a32733

Please sign in to comment.