Skip to content

Commit

Permalink
Merge pull request #142 from 10up/upkeep/wp-deploy
Browse files Browse the repository at this point in the history
upkeep/wp-deploy: Move from `actions/upload-release-asset` to `softprops/action-gh-release`
  • Loading branch information
jeffpaul authored Aug 5, 2024
2 parents dbb447b + 06c1d47 commit e51242e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/wordpress-plugin-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,8 @@ jobs:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
- name: Upload release asset
uses: actions/upload-release-asset@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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
files: ${{ github.workspace }}/${{ github.event.repository.name }}.zip

0 comments on commit e51242e

Please sign in to comment.