From ada0eb1dc090e39b2a1bfe7cebdce8426bb3f9e9 Mon Sep 17 00:00:00 2001 From: r-czajkowski <57687279+r-czajkowski@users.noreply.github.com> Date: Thu, 17 Feb 2022 12:03:38 +0100 Subject: [PATCH] Update `.github/workflows/ci.yaml` We want to have an additional step where the deployment requires manual approval so we should add environment property. Co-authored-by: Jakub Nowakowski --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 81b907c1..bd0e7bc6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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