Skip to content

Commit

Permalink
feat(ci): Adjust CI for workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Apr 20, 2024
1 parent 0682308 commit 2cace8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
workflow_dispatch:
inputs:
approve:
description: 'Approve Deploy to Test.'
description: 'Approve Deploy to Prod.'
required: true
type: boolean

jobs:
build:
if: ${{ github.event.inputs.approve == 'true' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
approve:
description: 'Approve Deploy to Test.'
required: true
type: boolean

jobs:
build:
Expand Down

0 comments on commit 2cace8e

Please sign in to comment.