Skip to content

Commit

Permalink
fix(ci): auto deploy to nightly on dev merge
Browse files Browse the repository at this point in the history
  • Loading branch information
zach-classiq committed Oct 21, 2024
1 parent 7fd60c2 commit 74172d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/automatic-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ on:

jobs:
deploy-prod:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == "main"
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
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"
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'dev'
uses: ./.github/workflows/deployment-qmod.yml
with:
deploy-mode: staging
Expand Down

0 comments on commit 74172d7

Please sign in to comment.