Skip to content

Update pages-deploy.yml #6

Update pages-deploy.yml

Update pages-deploy.yml #6

Workflow file for this run

name: Deploy GitHub Pages with private submodule
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Configure Git for private submodules
run: |
git config --global url."https://${{ secrets.HORSEL_ACCESS }}:@github.com/".insteadOf "https://github.com/"
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./