mirror of
https://github.com/boostorg/boostlook.git
synced 2026-01-19 04:02:14 +00:00
configure git credentials in sync workflow
This commit is contained in:
6
.github/workflows/sync-boostlook-css.yml
vendored
6
.github/workflows/sync-boostlook-css.yml
vendored
@@ -27,6 +27,12 @@ jobs:
|
||||
echo "Token exists (checking length...)"
|
||||
echo "${{ secrets.WEBSITE_V2_PAT }}" | wc -c
|
||||
|
||||
- name: Configure git credentials
|
||||
run: |
|
||||
git config --global credential.helper store
|
||||
echo "https://${{ secrets.WEBSITE_V2_PAT }}:x-oauth-basic@github.com" > ~/.git-credentials
|
||||
git config --global url."https://${{ secrets.WEBSITE_V2_PAT }}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
|
||||
|
||||
- name: Checkout website-v2 repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user