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:
146
146
tags : ${{ steps.meta.outputs.tags }}
147
147
labels : ${{ steps.meta.outputs.labels }}
148
148
platforms : linux/amd64,linux/arm64
149
-
150
- deploy-staging :
149
+
150
+ deploy-production :
151
151
runs-on : ubuntu-latest
152
152
needs : containerize
153
153
if : ${{ github.repository_owner == 'OpenShock' && github.ref_type == 'branch' && github.event_name != 'pull_request' && github.ref_name == 'master' }}
154
- environment : staging
154
+ environment : production
155
155
156
156
steps :
157
157
- uses : actions/checkout@v4
158
158
with :
159
159
sparse-checkout : |
160
160
.github
161
-
161
+
162
162
- uses : ./.github/actions/kubernetes-rollout-restart
163
163
with :
164
164
apiurl : ${{ secrets.KUBERNETES_APIURL }}
Original file line number Diff line number Diff line change 33
33
with :
34
34
body_path : README.md
35
35
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