Skip to content

Commit 1bff568

Browse files
authored
Update pages-deploy.yml
1 parent 963de03 commit 1bff568

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/pages-deploy.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,20 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13+
# Configure Git credentials for private submodules
14+
- name: Configure Git to access private submodules
15+
run: |
16+
git config --global url."https://${{ secrets.HORSEL_ACCESS }}:@github.com/".insteadOf "https://github.com/"
17+
1318
# Checkout your repo and private submodules
1419
- name: Checkout repository
1520
uses: actions/checkout@v3
1621
with:
1722
submodules: true
18-
token: ${{ secrets.HORSEL_ACCESS }}
23+
24+
# Deploy to GitHub Pages
25+
- name: Deploy to GitHub Pages
26+
uses: peaceiris/actions-gh-pages@v6
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
publish_dir: ./

0 commit comments

Comments
 (0)