File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
- name : CI/CD Workflow
1
+ name : CI/CD Workflow 🚀
2
2
3
3
on :
4
4
push :
19
19
20
20
jobs :
21
21
test :
22
+ name : Test 🧪
22
23
runs-on : ubuntu-latest
23
24
steps :
24
25
- name : Checkout repository
29
30
echo "Mock testing..."
30
31
31
32
deploy-to-staging :
33
+ name : Deploy to Staging
32
34
needs : test
33
35
if : github.event_name == 'push' && github.ref_name == 'main'
34
36
concurrency : staging
38
40
secrets : inherit
39
41
40
42
deploy-to-production :
43
+ name : Deploy to Production
41
44
needs : test
42
45
if : github.event_name == 'release'
43
46
concurrency : production
47
50
secrets : inherit
48
51
49
52
manual-deployment :
53
+ name : Manual Deployment
50
54
needs : test
51
55
if : github.event_name == 'workflow_dispatch' && (success() || inputs.force == true)
52
56
concurrency : ${{ inputs.environment }}
You can’t perform that action at this time.
0 commit comments