Skip to content

Commit e23ab82

Browse files
author
kada2004
committed
add manual approval before deployment
1 parent 871d72a commit e23ab82

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci_cd.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
runs-on: ubuntu-latest
6969
needs: build
7070

71+
environment: production # manual approval before deployment
72+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
73+
permissions:
74+
actions: read
75+
contents: read
76+
7177
steps:
7278
- name: Checkout code
7379
uses: actions/checkout@v4

0 commit comments

Comments
 (0)