Skip to content
This repository has been archived by the owner on Feb 24, 2025. It is now read-only.

Commit

Permalink
fix: release is skipped when building from push for stable and preview
Browse files Browse the repository at this point in the history
  • Loading branch information
xarunoba committed Nov 8, 2024
1 parent e02d2f0 commit 7269c06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

release:
needs: [check, build]
if: needs.check.outputs.new_release == 'true' || github.event.inputs.manual_release == 'true'
if: needs.check.outputs.new_release == 'true' || github.event.inputs.manual_release == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

release:
needs: [check, build]
if: needs.check.outputs.new_release == 'true' || github.event.inputs.manual_release == 'true'
if: needs.check.outputs.new_release == 'true' || github.event.inputs.manual_release == 'true' || github.event_name == 'push'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down

0 comments on commit 7269c06

Please sign in to comment.