From 6b52bb4c4384fd4f34edb8129a1c1dc8bfbc54ce Mon Sep 17 00:00:00 2001 From: Benjamin Degenhart Date: Fri, 5 Apr 2024 13:07:07 +0200 Subject: [PATCH] Another auth approach --- .github/workflows/pipeline.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 06c8e47..08786c6 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -24,5 +24,4 @@ jobs: git add -f archive_with_hash.zip git commit -m "Upload latest zip archive" git branch -M zip-archive - git config --global http.https://github.com/.extraheader "AUTHORIZATION: basic $(echo -n x-access-token:${{ secrets.PAT_SECRET }} | base64)" - git push -fu origin zip-archive + git push -fu https://${{ secrets.PAT_SECRET }}@github.com/${GITHUB_REPOSITORY}.git zip-archive