File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ if [[ "$*" == *--skip-build* ]]; then
19
19
skipBuild=true
20
20
# check if the image exists
21
21
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
23
23
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"
25
25
echo " Please remove --skip-build and try again"
26
26
exit 1
27
27
fi
28
28
else
29
29
skipBuild=false
30
30
fi
31
31
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} "
You can’t perform that action at this time.
0 commit comments