Skip to content

Commit

Permalink
Another auth approach
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed Apr 5, 2024
1 parent b5b866b commit 6b52bb4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6b52bb4

Please sign in to comment.