Skip to content

Commit

Permalink
Upload release artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkwr committed Dec 20, 2021
1 parent 0ebb95a commit b9342e2
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,24 @@ jobs:
tag:
name: New tag
runs-on: ubuntu-latest
env:
slug: tillit-payment-gateway
steps:
- uses: actions/checkout@v2
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: tillit-payment-gateway
SLUG: ${{ env.slug }}
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.deploy.outputs.zip-path }}
asset_name: ${{ env.slug }}.zip
asset_content_type: application/zip

0 comments on commit b9342e2

Please sign in to comment.