Skip to content

Commit 2f32b0c

Browse files
committed
fix a syntax issue
1 parent 1ffc805 commit 2f32b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
id: pr_number
3838
run: |
3939
set -euxo pipefail
40-
if [[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then
40+
if [[ ${{ github.event_name }} == "workflow_dispatch" ]]; then
4141
PR_NUMBER=${{ github.event.inputs.pr_number }}
42-
PR_TITLE=$(curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/coder/coder/pulls/$PR_NUMBER | jq -r '.title')
42+
PR_TITLE=$(curl -sSL -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "https://api.github.com/repos/coder/coder/pulls/$PR_NUMBER" | jq -r '.title')
4343
else
4444
PR_NUMBER=${{ github.event.issue.number }}
4545
PR_TITLE=${{ github.event.issue.title }}

0 commit comments

Comments
 (0)