File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ jobs:
205205 # Deploy Workers Dev
206206 deploy-workers-dev :
207207 runs-on : ubuntu-latest
208+ if : github.ref == 'refs/heads/master'
208209 needs : [build-and-publish-workers, build-and-publish-web]
209210 environment : dev
210211
@@ -227,6 +228,7 @@ jobs:
227228 # Deploy Web App Dev
228229 deploy-web-dev :
229230 runs-on : ubuntu-latest
231+ if : github.ref == 'refs/heads/master'
230232 needs : [build-and-publish-web, deploy-workers-dev]
231233 environment :
232234 name : " dev"
@@ -244,6 +246,7 @@ jobs:
244246 # Deploy Next.js Client App Dev
245247 deploy-next-dev :
246248 runs-on : ubuntu-latest
249+ if : github.ref == 'refs/heads/master'
247250 needs : [build-and-publish-next-app, deploy-web-dev]
248251 environment : dev
249252
@@ -364,6 +367,7 @@ jobs:
364367 # Deploy Web App Test
365368 deploy-web-test :
366369 runs-on : ubuntu-latest
370+ if : github.ref == 'refs/heads/master'
367371 needs : [deploy-web-dev, deploy-workers-test]
368372 environment :
369373 name : " test"
You can’t perform that action at this time.
0 commit comments