Skip to content

Commit 25b22e4

Browse files
committed
lint
1 parent b672c67 commit 25b22e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/deploy-pr.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ if [[ "$*" == *--skip-build* ]]; then
1919
skipBuild=true
2020
#check if the image exists
2121
foundTag=$(curl -fsSL https://github.com/coder/coder/pkgs/container/coder-preview | grep -o "$prNumber" | head -n 1)
22-
if [ -z "$foundTag" ]; then
22+
if [ -z "${foundTag}" ]; then
2323
echo "Image not found"
24-
echo ""$prNumber" tag not found in ghcr.io/coder/coder-preview"
24+
echo "${prNumber} tag not found in ghcr.io/coder/coder-preview"
2525
echo "Please remove --skip-build and try again"
2626
exit 1
2727
fi
2828
else
2929
skipBuild=false
3030
fi
3131

32-
gh workflow run pr-deploy.yaml --ref "$branchName" -f pr_number="$imageTag" -f skip_build="$skipBuild"
32+
gh workflow run pr-deploy.yaml --ref "${branchName}" -f pr_number="${prNumber}" -f skip_build="${skipBuild}"

0 commit comments

Comments
 (0)