Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Commit 1b5e44d

Browse files
committed
Rely on make
1 parent 3b27618 commit 1b5e44d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/cd-templates.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- develop
1111
- master
1212
paths:
13+
- 'conf/templates/*'
1314
- 'conf/k8s/overlays/*/templates/*'
1415

1516
jobs:
@@ -46,7 +47,10 @@ jobs:
4647
- run: gcloud container clusters get-credentials "${{ steps.env.outputs.cluster }}" --zone "${{ steps.env.outputs.zone }}"
4748

4849
- name: Deploy templates
49-
run: kubectl create configmap playground-templates --namespace=${{ steps.env.outputs.namespace }} --from-file=conf/k8s/overlays/${{ steps.env.outputs.environment }}/templates/ --dry-run=client -o yaml | kubectl apply -f -
50+
run: make k8s-update-templates-config
51+
env:
52+
ENV: ${{ steps.env.outputs.environment }}
53+
SKIP_ACK: true
5054

5155
# TODO test image, rollback commit if fails
5256
# Do not rollback the rollback itself

0 commit comments

Comments
 (0)