Skip to content

Commit

Permalink
Update dotorg-push-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpaul authored Aug 24, 2021
1 parent 5e89aee commit 2b26788
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/dotorg-push-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Deploy to WordPress.org

on:
release:
types: [published]

jobs:
tag:
name: New release
Expand All @@ -29,6 +27,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{github.workspace}}/${{ github.event.repository.name }}.zip
asset_path: ${{ steps.deploy.outputs.zip-path }}
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip

0 comments on commit 2b26788

Please sign in to comment.