Fix typo in legacy query form (#144) #105
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 ] | |
workflow_dispatch: | |
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' | |
push_to_registry_prod2: | |
name: Push to prod2 | |
uses: ./.github/workflows/build-push-image.yaml | |
with: | |
environment: prod2 | |
secrets: inherit | |
needs: deploy_to_prod1 | |
if: github.ref == 'refs/heads/main' | |
deploy_to_prod2: | |
name: Deploy to prod2 | |
uses: ./.github/workflows/deploy-to-k8s.yaml | |
with: | |
environment: prod2 | |
secrets: inherit | |
needs: push_to_registry_prod2 | |
if: github.ref == 'refs/heads/main' |