Skip to content

Commit

Permalink
Update .github/workflows/ci.yaml
Browse files Browse the repository at this point in the history
We want to have an additional step where the deployment requires manual
approval so we should add environment property.

Co-authored-by: Jakub Nowakowski <jakub.nowakowski@keep.network>
  • Loading branch information
r-czajkowski and nkuba authored Feb 17, 2022
1 parent 97de80b commit ada0eb1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
name: Deploy
needs: build
if: github.event_name == 'push'
# production environment is protected, it requires an approval before execution.
environment:
name: prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit ada0eb1

Please sign in to comment.