File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI + CD
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ Staging :
8+ runs-on : ubuntu-latest
9+ environment : Staging
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Run a script
13+ run : echo "Running in Staging"
14+
15+ Quality_Assurance :
16+ runs-on : ubuntu-latest
17+ environment : Quality_Assurance
18+ needs : Staging
19+ steps :
20+ - uses : actions/checkout@v2
21+ - name : Run a script
22+ run : echo "Running in QA"
23+
24+ Production :
25+ runs-on : ubuntu-latest
26+ environment : Development
27+ needs : Quality_Assurance
28+ steps :
29+ - uses : actions/checkout@v2
30+ - name : Run a script
31+ run : echo "Running in production"
32+
33+ Development :
34+ runs-on : ubuntu-latest
35+ environment : Production
36+ needs : Production
37+ steps :
38+ - uses : actions/checkout@v2
39+ - name : Run a script
40+ run : echo "Deployed"
You can’t perform that action at this time.
0 commit comments