From 8f7d6b5c3c24a8d853614b76b4350a6acc8eae54 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 30 Apr 2024 22:22:30 +0200 Subject: [PATCH] Pull and push git repo with token --- .forgejo/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml index 1d55789..eaa7bb5 100644 --- a/.forgejo/workflows/push.yaml +++ b/.forgejo/workflows/push.yaml @@ -11,7 +11,7 @@ jobs: GIT_AUTHOR_EMAIL: noreply@git.kun.is steps: - name: Clone container-images repository - run: git clone ${GITHUB_SERVER_URL}/home/container-images.git container-images + run: git clone https://${{ secrets.RUNNER_TOKEN }}@${GITHUB_SERVER_URL#https://}/home/container-images.git container-images - name: Update Nix input on container-images run: nix flake lock --update-input blog-pim ./container-images - name: Push changes to container-images repo