You want to use add Couscous in your workflow Github (https://github.com/marketplace/actions/couscous-generate).
.github/workflows/***.yml
name: Couscous GithubPage
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: CouscousPHP/GitHub-Action@v1
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.couscous/generated