Skip to content

Shahakl/merge dev main #39

Shahakl/merge dev main

Shahakl/merge dev main #39

name: "(Internal) Automatic Deployment"
on:
pull_request_target:
branches:
- main
- dev
types:
- closed
jobs:
deploy-prod:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
uses: ./.github/workflows/Utils-deployment-qmod.yml
with:
deploy-mode: production
secrets: inherit
deploy-dev:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'dev'
uses: ./.github/workflows/Utils-deployment-qmod.yml
with:
deploy-mode: staging
secrets: inherit