Skip to content

Commit 29486a0

Browse files
fix: always run deploy and sentry
1 parent 8f1569c commit 29486a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
deploy:
8080
environment: ${{ github.event.inputs.deploy_environment || 'production' }}
8181
needs: build
82-
if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch'
82+
if: always() && github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch'
8383
name: Deploy to k8s
8484
runs-on: ubuntu-latest
8585
permissions:
@@ -139,6 +139,7 @@ jobs:
139139
create_sentry_release:
140140
name: Create Sentry Release
141141
needs: build
142+
if: always()
142143
environment: ${{ github.event.inputs.deploy_environment || 'production' }}
143144
runs-on: ubuntu-latest
144145
steps:

0 commit comments

Comments
 (0)