This repository was archived by the owner on Nov 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-20
lines changed
Expand file tree Collapse file tree 2 files changed +39
-20
lines changed Original file line number Diff line number Diff line change 1+ name : CD DEV
2+ concurrency :
3+ group : ${{ github.ref }}
4+ cancel-in-progress : true
5+ on :
6+ workflow_run :
7+ workflows : ["CI"]
8+ branches :
9+ - dev
10+ types :
11+ - completed
12+ jobs :
13+ docker-master :
14+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
15+ uses : " Recodive/Workflows/.github/workflows/CD Docker.yml@main"
16+ with :
17+ context : master/.
18+ tags : premid/api-master
19+ secrets :
20+ GH_NPM_TOKEN : ${{ secrets.GH_NPM_TOKEN }}
21+ permissions :
22+ contents : read
23+ packages : write
24+ docker-worker :
25+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
26+ uses : " Recodive/Workflows/.github/workflows/CD Docker.yml@main"
27+ with :
28+ context : worker/.
29+ tags : premid/api-worker
30+ secrets :
31+ GH_NPM_TOKEN : ${{ secrets.GH_NPM_TOKEN }}
32+ permissions :
33+ contents : read
34+ packages : write
Original file line number Diff line number Diff line change 1- name : CD
1+ name : CD DEV
22concurrency :
33 group : ${{ github.ref }}
44 cancel-in-progress : true
55on :
6- workflow_run :
7- workflows : ["CI"]
6+ release :
87 branches :
98 - main
109 types :
11- - completed
10+ - released
1211jobs :
1312 docker-master :
1413 if : ${{ github.event.workflow_run.conclusion == 'success' }}
1514 uses : " Recodive/Workflows/.github/workflows/CD Docker.yml@main"
1615 with :
1716 context : master/.
1817 tags : premid/api-master
18+ version : ${{ github.ref_name }}
1919 secrets :
2020 GH_NPM_TOKEN : ${{ secrets.GH_NPM_TOKEN }}
2121 permissions :
2727 with :
2828 context : worker/.
2929 tags : premid/api-worker
30+ version : ${{ github.ref_name }}
3031 secrets :
3132 GH_NPM_TOKEN : ${{ secrets.GH_NPM_TOKEN }}
3233 permissions :
3334 contents : read
3435 packages : write
35- deploy-master :
36- needs : docker-master
37- uses : Recodive/Workflows/.github/workflows/CD.yml@main
38- secrets :
39- KUBE_CONFIG_DATA : ${{ secrets.KUBE_CONFIG_DATA }}
40- with :
41- namespace : premid
42- deployment : api-master
43- deploy-worker :
44- needs : docker-worker
45- uses : Recodive/Workflows/.github/workflows/CD.yml@main
46- secrets :
47- KUBE_CONFIG_DATA : ${{ secrets.KUBE_CONFIG_DATA }}
48- with :
49- namespace : premid
50- deployment : api-worker
You can’t perform that action at this time.
0 commit comments