File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed
Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change @@ -90,27 +90,28 @@ jobs:
9090 path : allure-report
9191
9292 # -------------------------------
93- # 5. DEPLOY STAGE (MANUAL APPROVAL)
93+ # 5. DEPLOY TO DEVELOPMENT
9494 # -------------------------------
95- deploy1 :
95+ deploy-development :
9696 runs-on : ubuntu-latest
9797 needs : allure-report
98-
99- # 👇 Requires manual approval
10098 environment :
10199 name : development
102- url : https://example.com
103-
104-
105- deploy :
106- needs : deploy1, allure-report
107- runs-on : ubuntu-latest
108-
109- # 👇 Requires manual approval
110- environment :
111- name : production
112- url : https://example.com
100+ url : https://dev.example.com
101+ steps :
102+ - name : Deploy to Development
103+ run : echo "Deployed to DEVELOPMENT successfully"
113104
105+ # -------------------------------
106+ # 6. DEPLOY TO PRODUCTION (MANUAL APPROVAL)
107+ # -------------------------------
108+ deploy-production :
109+ runs-on : ubuntu-latest
110+ needs : deploy-development
111+ environment :
112+ name : production
113+ url : https://prod.example.com
114+ # NOTE: This environment must be configured in GitHub repo/settings with approval
114115 steps :
115- - name : Deployment Placeholder
116- run : echo "Deployment step after Allure report "
116+ - name : Deploy to Production
117+ run : echo "Deployed to PRODUCTION after manual approval "
You can’t perform that action at this time.
0 commit comments