Skip to content

Commit 8e388f7

Browse files
committed
Staging is no more
1 parent f61fc1e commit 8e388f7

File tree

2 files changed

+5
-23
lines changed

2 files changed

+5
-23
lines changed

.github/workflows/ci-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 }}

.github/workflows/ci-tag.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,4 @@ jobs:
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') }}

0 commit comments

Comments
 (0)