Skip to content

Commit bc65233

Browse files
committed
Removed create_release step as we trigger this workflow from a release.
1 parent d434923 commit bc65233

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/deploy-prod.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,13 @@ jobs:
2626
- run: yarn release
2727
- run: cd functions && yarn install && yarn deploy:config:prod --token ${{ secrets.FIREBASE_TOKEN }}
2828
- run: yarn deploy:prod --token ${{ secrets.FIREBASE_TOKEN }}
29-
- name: Create Release
30-
id: create_release
31-
uses: actions/create-release@v1
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }}
34-
with:
35-
tag_name: ${{ github.ref }}
36-
release_name: Release ${{ github.ref }}
37-
draft: false
38-
prerelease: false
3929
- name: Upload Release Asset
4030
id: upload-release-asset
4131
uses: actions/upload-release-asset@v1
4232
env:
4333
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }}
4434
with:
45-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
35+
upload_url: ${{ github.event.release.upload_url }}
4636
asset_path: ./extension.zip
4737
asset_name: chrome-extension.zip
4838
asset_content_type: application/zip

0 commit comments

Comments
 (0)