Skip to content

Commit e756563

Browse files
committed
use full path of binary
1 parent 2598dc0 commit e756563

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ jobs:
260260
echo "::add-mask::$password"
261261
echo "password=$password" >> $GITHUB_OUTPUT
262262
263-
coder login \
263+
/home/runner/coder login \
264264
--first-user-username ${{ env.PR_NUMBER }} \
265265
--first-user-email ${{ env.PR_NUMBER }}@coder.com \
266266
--first-user-password $password \
@@ -269,7 +269,7 @@ jobs:
269269
${{ env.PR_DEPLOYMENT_ACCESS_URL }}
270270
271271
# Create template
272-
coder templates init --id kubernetes && cd ./kubernetes/ && coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }}
272+
/home/runner/coder templates init --id kubernetes && cd ./kubernetes/ && /home/runner/coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }}
273273
274274
# Create workspace
275275
cat <<EOF > workspace.yaml
@@ -278,8 +278,8 @@ jobs:
278278
home_disk_size: "2"
279279
EOF
280280
281-
coder create --template="kubernetes" pr${{ env.PR_NUMBER }} --rich-parameter-file ./workspace.yaml -y
282-
coder stop pr${{ env.PR_NUMBER }} -y
281+
/home/runner/coder create --template="kubernetes" pr${{ env.PR_NUMBER }} --rich-parameter-file ./workspace.yaml -y
282+
/home/runner/coder stop pr${{ env.PR_NUMBER }} -y
283283
284284
- name: Send Slack notification
285285
run: |

0 commit comments

Comments
 (0)