Skip to content

chor(ci): auto deploy to nightly on dev merge #7

chor(ci): auto deploy to nightly on dev merge

chor(ci): auto deploy to nightly on dev merge #7

name: "Automatic Deployment"
on:
pull_request:
branches:
- main
- dev
types:
- closed
jobs:
deploy-prod:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == "main"

Check failure on line 13 in .github/workflows/automatic-deployment.yml

View workflow run for this annotation

GitHub Actions / Automatic Deployment

Invalid workflow file

The workflow is not valid. .github/workflows/automatic-deployment.yml (Line: 13, Col: 9): Unexpected symbol: '"main"'. Located at position 83 within expression: github.event.pull_request.merged == true && github.event.pull_request.base.ref == "main" .github/workflows/automatic-deployment.yml (Line: 20, Col: 9): Unexpected symbol: '"dev"'. Located at position 83 within expression: github.event.pull_request.merged == true && github.event.pull_request.base.ref == "dev"
uses: ./.github/workflows/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/deployment-qmod.yml
with:
deploy-mode: staging
secrets: inherit