Skip to content

Commit

Permalink
Merge pull request #325 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 May 6, 2024
2 parents 38ad796 + b763e56 commit f7be6f1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy-to-wpdotorg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,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: ${{github.workspace}}/${{ github.event.repository.name }}.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
files: ${{github.workspace}}/${{ github.event.repository.name }}.zip

0 comments on commit f7be6f1

Please sign in to comment.