Add MESHDB_URL to secret map (#75) #60
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: Publish and Deploy | |
permissions: read-all | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
push_to_registry_dev: | |
name: Push to dev3 | |
uses: ./.github/workflows/build-push-image.yaml | |
with: | |
environment: dev3 | |
secrets: inherit | |
if: github.ref == 'refs/heads/main' | |
deploy_to_dev3: | |
name: Deploy to dev3 | |
uses: ./.github/workflows/deploy-to-k8s.yaml | |
with: | |
environment: dev3 | |
secrets: inherit | |
needs: push_to_registry_dev | |
if: github.ref == 'refs/heads/main' | |
push_to_registry_prod: | |
name: Push to prod1 | |
uses: ./.github/workflows/build-push-image.yaml | |
with: | |
environment: prod1 | |
secrets: inherit | |
needs: deploy_to_dev3 | |
if: github.ref == 'refs/heads/main' | |
deploy_to_prod1: | |
name: Deploy to prod1 | |
uses: ./.github/workflows/deploy-to-k8s.yaml | |
with: | |
environment: prod1 | |
secrets: inherit | |
needs: push_to_registry_prod | |
if: github.ref == 'refs/heads/main' |