diff --git a/.github/workflows/cd-staging-templates.yml b/.github/workflows/cd-staging-templates.yml index c14a5c3da..4b586d18a 100644 --- a/.github/workflows/cd-staging-templates.yml +++ b/.github/workflows/cd-staging-templates.yml @@ -71,13 +71,13 @@ jobs: - name: Update template version run: |- t=$(mktemp) - cat conf/k8s/overlays/staging/template/${{ github.event.client_payload.id }} | jq ".image = \"${{ env.IMAGE }}\"" > ${t} && mv ${t} conf/k8s/overlays/staging/template/${{ github.event.client_payload.id }} + cat conf/k8s/overlays/staging/templates/${{ github.event.client_payload.id }} | jq ".image = \"${{ env.IMAGE }}\"" > ${t} && mv ${t} conf/k8s/overlays/staging/templates/${{ github.event.client_payload.id }} - name: Commit template version update uses: EndBug/add-and-commit@v4 with: message: ":bookmark: update template version for ${{ github.event.client_payload.id }}" - add: conf/k8s/overlays/staging/template/${{ github.event.client_payload.id }} + add: conf/k8s/overlays/staging/templates/${{ github.event.client_payload.id }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}