We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3df29 commit 80515f4Copy full SHA for 80515f4
.github/workflows/deploy-docs.yml
@@ -31,7 +31,7 @@ jobs:
31
- name: Set branch name for Cloudflare Pages
32
id: cf-branch
33
run: |
34
- if [[ "${{ github.ref_name }}" == "production" ]]; then
+ if [[ "${{ github.event.inputs.environment }}" == "production" ]]; then
35
echo "CF_BRANCH_NAME=master" >> $GITHUB_ENV
36
else
37
echo "CF_BRANCH_NAME=preview" >> $GITHUB_ENV
0 commit comments