Skip to content

Commit

Permalink
feat(ci): deploy cms to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Salaton committed May 29, 2023
1 parent 6b89ab5 commit 8b34fe7
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/multitenant-staging.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Multitenant Staging Deployment

on:
push:
branches:
- develop-v2
on: [push]

env:
DJANGO_SETTINGS_MODULE: "config.settings.production"
Expand All @@ -26,9 +23,15 @@ env:
jobs:
deploy_to_testing:
name: Deploy multitenant staging server to google kubernetes engine
if: ${{ github.ref == 'refs/heads/develop-v2'}}
strategy:
matrix:
go-version: [1.18.x]
environment: [multitenant-staging, sil-uat]

runs-on: ubuntu-latest
environment:
name: multitenant-staging
name: ${{ matrix.environment }}

steps:
- name: Checkout
Expand Down Expand Up @@ -64,11 +67,17 @@ jobs:
shell: bash
run: cd deploy/ && cat deploy.sh && sh deploy.sh

deploy_to_sil_testing:
deploy_to_prod:
name: Deploy sil testing server to google kubernetes engine
if: ${{ github.ref == 'refs/heads/main-v2'}}
strategy:
matrix:
go-version: [1.18.x]
environment: [multitenant-prod]

runs-on: ubuntu-latest
environment:
name: sil-uat
name: ${{ matrix.environment }}

steps:
- name: Checkout
Expand Down

0 comments on commit 8b34fe7

Please sign in to comment.