Skip to content

Commit

Permalink
Merge pull request #7 from joelazar/hotfix/fix-rollbacks-again
Browse files Browse the repository at this point in the history
🚀 fix rollbacks - do not create release without draft release …
  • Loading branch information
joelazar authored Apr 20, 2022
2 parents f802810 + f1cf61a commit 59f3464
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/production_deploy.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ jobs:
- name: Do some magic
run: echo magic

- name: Get draft release
id: get_draft_release
uses: agners/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}

- uses: release-drafter/release-drafter@v5
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' && steps.get_draft_release.outputs.id }}
with:
config-name: release_drafter.yml
disable-autolabeler: false
Expand Down

0 comments on commit 59f3464

Please sign in to comment.