Skip to content

Commit 02720e5

Browse files
authored
Update pages-deploy.yml
1 parent 38def64 commit 02720e5

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/pages-deploy.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
# Configure Git to use personal access token for private submodules
14-
- name: Configure Git for private submodules
15-
run: |
16-
git config --global url."https://${{ secrets.HORSEL_ACCESS }}:@github.com/".insteadOf "https://github.com/"
17-
18-
# Checkout the repository and all submodules
19-
- name: Checkout repository
13+
# Checkout the repository and all submodules with PAT
14+
- name: Checkout repository with private submodules
2015
uses: actions/checkout@v3
2116
with:
22-
submodules: true
23-
fetch-depth: 0 # ensures full history if needed
17+
submodules: recursive
18+
token: ${{ secrets.HORSEL_ACCESS }}
19+
fetch-depth: 0
2420

2521
# Deploy site to main branch
2622
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)