Skip to content

Commit

Permalink
create GH release with wp deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
pjv committed Jun 5, 2023
1 parent 2f15d1b commit d109c6f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ jobs:
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create GH Release
uses: ncipollo/release-action@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ steps.deploy.outputs.zip-path }}
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
artifacts: ${{ steps.deploy.outputs.zip-path }}
artifactContentType: application/zip
makeLatest: true
generateReleaseNotes: true

0 comments on commit d109c6f

Please sign in to comment.