Skip to content

Commit df4d829

Browse files
committed
use the included template
1 parent fdbdf20 commit df4d829

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pr-deploy.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ jobs:
402402
https://${{ env.PR_DEPLOYMENT_ACCESS_URL }}
403403
404404
# Create template
405-
git clone https://github.com/matifali/coder-templates.git && cd ./coder-templates/k8s-namespace/
406-
coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }}
405+
cd ./.github/pr-deployments/template
406+
coder templates create -y --variable namespace=pr${{ env.PR_NUMBER }} kubernetes
407407
408408
# Create workspace
409409
cat <<EOF > workspace.yaml
@@ -412,8 +412,8 @@ jobs:
412412
home_disk_size: "2"
413413
EOF
414414
415-
coder create --template="k8s-namespace" test --rich-parameter-file ./workspace.yaml -y
416-
coder stop test -y
415+
coder create --template="kubernetes" kube --rich-parameter-file ./workspace.yaml -y
416+
coder stop kube -y
417417
418418
- name: Send Slack notification
419419
if: needs.get_info.outputs.NEW == 'true'

0 commit comments

Comments
 (0)