This commit is contained in:
parent
2b5bb39391
commit
6397fd88c9
1 changed files with 10 additions and 1 deletions
|
|
@ -15,7 +15,16 @@ jobs:
|
|||
- name: Checkout your repository using git
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
lfs: true
|
||||
persist-credentials: "true"
|
||||
|
||||
- name: Checkout lfs
|
||||
run: |
|
||||
git lfs install --local
|
||||
AUTH=$(git config --local http.${{ forge.server_url }}/.extraheader)
|
||||
git config --local --unset http.${{ forge.server_url }}/.extraheader
|
||||
git config --local http.${{ forge.server_url }}/${{ forge.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH"
|
||||
git lfs pull
|
||||
|
||||
- name: Install, build, and upload your site
|
||||
uses: https://github.com/withastro/action@main
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue