Deploy to Production #13
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 to Production | |
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.yaml | |
with: | |
image_tag: prod | |
chart_ver: "1.0.0" | |
secrets: inherit | |
deploy: | |
name: SSH and Deploy | |
needs: [build-push] | |
uses: ./.github/workflows/deploy.yaml | |
with: | |
environment: production | |
name: bt-prod-app | |
version: "1.0.0" | |
values: | | |
host: stanfurdtime.com | |
secrets: inherit |