File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 88jobs :
99
1010 # -------------------------------
11- # 1. CHECKOUT / DEVELOPMENT STAGE (manual approval)
11+ # 1. CHECKOUT STAGE
1212 # -------------------------------
13- development :
13+ checkout :
1414 runs-on : ubuntu-latest
15- environment : development # <-- Add manual approval from GitHub environment protection rule
1615 steps :
1716 - name : Checkout repository
1817 uses : actions/checkout@v4
@@ -91,11 +90,17 @@ jobs:
9190 path : allure-report
9291
9392 # -------------------------------
94- # 5. DEPLOY STAGE
93+ # 5. DEPLOY STAGE (MANUAL APPROVAL)
9594 # -------------------------------
9695 deploy :
9796 runs-on : ubuntu-latest
9897 needs : allure-report
98+
99+ # 👇 Requires manual approval
100+ environment :
101+ name : production
102+ url : https://example.com
103+
99104 steps :
100105 - name : Deployment Placeholder
101106 run : echo "Deployment step after Allure report"
You can’t perform that action at this time.
0 commit comments