Skip to content

clean up more join form stuff (#97) #72

clean up more join form stuff (#97)

clean up more join form stuff (#97) #72

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'