Skip to content

Change the automatic deployment trigger from PR to push #58

Change the automatic deployment trigger from PR to push

Change the automatic deployment trigger from PR to push #58

name: "Automatic Deployment"
on:
push:
branches:
- main
- dev
jobs:
deploy-prod:
if: github.ref_name == 'main'
uses: ./.github/workflows/deployment-qmod.yml
with:
deploy-mode: production
secrets: inherit
deploy-dev:
if: github.ref_name == 'dev'
uses: ./.github/workflows/deployment-qmod.yml
with:
deploy-mode: staging
secrets: inherit