ci: scope LFS auth header to batch endpoint to avoid duplicate Authorization
Deploy React Site / build-and-deploy (push) Successful in 11s
Deploy React Site / build-and-deploy (push) Successful in 11s
This commit is contained in:
@@ -11,8 +11,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
|
||||
- name: Fetch Git LFS objects
|
||||
run: |
|
||||
git lfs install --local
|
||||
AUTH="$(git config --local "http.${{ github.server_url }}/.extraheader")"
|
||||
git config --local --unset "http.${{ github.server_url }}/.extraheader"
|
||||
git config --local "http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader" "$AUTH"
|
||||
git lfs pull
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user