File tree Expand file tree Collapse file tree 2 files changed +5
-23
lines changed
Expand file tree Collapse file tree 2 files changed +5
-23
lines changed Original file line number Diff line number Diff line change @@ -146,19 +146,19 @@ jobs:
146146 tags : ${{ steps.meta.outputs.tags }}
147147 labels : ${{ steps.meta.outputs.labels }}
148148 platforms : linux/amd64,linux/arm64
149-
150- deploy-staging :
149+
150+ deploy-production :
151151 runs-on : ubuntu-latest
152152 needs : containerize
153153 if : ${{ github.repository_owner == 'OpenShock' && github.ref_type == 'branch' && github.event_name != 'pull_request' && github.ref_name == 'master' }}
154- environment : staging
154+ environment : production
155155
156156 steps :
157157 - uses : actions/checkout@v4
158158 with :
159159 sparse-checkout : |
160160 .github
161-
161+
162162 - uses : ./.github/actions/kubernetes-rollout-restart
163163 with :
164164 apiurl : ${{ secrets.KUBERNETES_APIURL }}
Original file line number Diff line number Diff line change 3333 with :
3434 body_path : README.md
3535 tag_name : ${{ github.ref_name }}
36- prerelease : ${{ contains(github.ref_name, '-rc') }}
37-
38- deploy-production :
39- runs-on : ubuntu-latest
40- needs : release
41- if : ${{ !contains(github.ref_name, '-rc') }}
42- environment : production
43-
44- steps :
45- - uses : actions/checkout@v4
46- with :
47- sparse-checkout : |
48- .github
49-
50- - uses : ./.github/actions/kubernetes-rollout-restart
51- with :
52- apiurl : ${{ secrets.KUBERNETES_APIURL }}
53- token : ${{ secrets.KUBERNETES_TOKEN }}
54- deployments : ${{ vars.DEPLOYMENT_NAMES }}
36+ prerelease : ${{ contains(github.ref_name, '-rc') }}
You can’t perform that action at this time.
0 commit comments