Skip to content

clear previous query before submitting the next one (#86) #67

clear previous query before submitting the next one (#86)

clear previous query before submitting the next one (#86) #67

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'