Skip to content

Commit

Permalink
Merge pull request #262 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 14, 2024
2 parents b1112ee + fa7e4a5 commit 844c7c6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
- 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 844c7c6

Please sign in to comment.