Skip to content

Commit 80515f4

Browse files
authored
chore: fix manual deployment user input (#152)
1 parent ee3df29 commit 80515f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set branch name for Cloudflare Pages
3232
id: cf-branch
3333
run: |
34-
if [[ "${{ github.ref_name }}" == "production" ]]; then
34+
if [[ "${{ github.event.inputs.environment }}" == "production" ]]; then
3535
echo "CF_BRANCH_NAME=master" >> $GITHUB_ENV
3636
else
3737
echo "CF_BRANCH_NAME=preview" >> $GITHUB_ENV

0 commit comments

Comments
 (0)