Merge pull request #46 from 2i2c-org/bump-version #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy the app in production | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- helm-charts/app/Chart.yaml | |
- helm-charts/apps/prod.values.yaml | |
workflow_dispatch: | |
jobs: | |
upgrade-prod: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup deploy | |
uses: ./.github/actions/setup-deploy | |
with: | |
GCP_KMS_DECRYPTOR_KEY: ${{ secrets.GCP_KMS_DECRYPTOR_KEY }} | |
- name: Update helm dependencies | |
run: | | |
helm dependency update helm-charts/app | |
- name: Install deployer deps | |
run: pip install -r requirements.txt | |
- name: Deploy prod app | |
run: | | |
python3 deployer.py app --namespace=prod |