diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 683ca03..ec8f5c1 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -55,11 +55,12 @@ jobs: env: GITEA_PASSWORD: ${{ env.GITEA_TOKEN }} run: | - git clone https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git + git clone https://gitea.scubbo.org/scubbo/helm-charts.git cd helm-charts yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml git add -A git -c user.name="Imagebot" -c user.email="fake@scubbo.org" commit -m 'Update EDH ELO commit to "${{ gitea.sha }}"' - git push origin main:main - cd ... + git remote add origin-with-credentials https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git + git push origin-with-credentials main:main + cd .. rm -rf helm-charts