Skip to content

Commit

Permalink
Merge pull request #308 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 12, 2024
2 parents 864ec5f + 5c778d9 commit 44f2a5f
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 @@ -26,11 +26,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: ${{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 44f2a5f

Please sign in to comment.