We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bd92b2 commit f2cb3faCopy full SHA for f2cb3fa
.github/workflows/stage-build.yml
@@ -73,6 +73,9 @@ jobs:
73
environment: stage
74
runs-on: ubuntu-latest
75
76
+ # We only ever want to deploy the `next` branch to stage.
77
+ if: ${{ github.repository == 'mdn/yari' && github.ref_name == 'next' }}
78
+
79
steps:
80
# Our usecase is a bit complicated. When the cron schedule runs this workflow,
81
# we rely on the env vars defined at the top of the file. But if it's a manual
0 commit comments