Deployed aff8be5cc56ef744f08cd6f597dd9e6f877aaa4d
#143
This file contains hidden or 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: "CD: Deploy to Production" | |
| run-name: "Deployed `${{ github.sha }}`" | |
| concurrency: production | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| branch-check: | |
| name: Environment Check | |
| runs-on: ubuntu-latest | |
| environment: production | |
| steps: | |
| - name: Pass | |
| run: echo "Passed check" | |
| build-push: | |
| name: Build and Push Images and Charts | |
| needs: [branch-check] | |
| uses: ./.github/workflows/cd-build.yaml | |
| with: | |
| image_tag: prod | |
| chart_ver: "1.0.0" | |
| secrets: inherit | |
| deploy: | |
| name: SSH and Deploy | |
| needs: [build-push] | |
| uses: ./.github/workflows/cd-deploy.yaml | |
| with: | |
| environment: production | |
| name: bt-prod-app | |
| version: "1.0.0" | |
| values: | | |
| host: berkeleytime.com | |
| host: berkeleytime.com | |
| secrets: inherit |