mirror of
https://github.com/ISEAL-Community/iseal-core.git
synced 2025-06-22 00:01:09 +02:00
It seems we can only enable GitHub Pages with subdirectories at the root of the project. Ours is in ./site/docs so I think we need to use an example like Hexo's to publish with a GitHub workflow. See: https://hexo.io/docs/github-pages
19 lines
337 B
YAML
19 lines
337 B
YAML
name: Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
pages:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./site/docs
|
|
publish_branch: main
|