Skip to content

Commit c38feba

Browse files
committed
Added development environment
1 parent 48de21b commit c38feba

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ on:
88
jobs:
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"

0 commit comments

Comments
 (0)