Skip to content

Commit

Permalink
Add tooling to deploy manually even if tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
alukach committed Jun 28, 2024
1 parent 97f0c37 commit 8a70b06
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: "Environment to run deploy"
type: environment
required: true
force:
description: "Deploy even if tests fail"
type: boolean
required: false
default: false

jobs:
test:
Expand Down Expand Up @@ -42,8 +47,8 @@ jobs:
secrets: inherit

manual-deployment:
# needs: test # NOTE: We elect to skip tests on manual deployments
if: github.event_name == 'workflow_dispatch'
needs: test
if: success() || inputs.force
concurrency: ${{ inputs.environment }}
uses: "./.github/workflows/deploy.yml"
with:
Expand Down

0 comments on commit 8a70b06

Please # to comment.