Start using GH pages for docs site
This commit is contained in:
parent
74056d15ab
commit
4785ab2552
18
.github/workflows/docs.yml
vendored
Normal file
18
.github/workflows/docs.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Build and deploy GH Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3.0.0
|
||||
- name: build_and_deploy
|
||||
uses: shalzz/zola-deploy-action@v0.17.2
|
||||
env:
|
||||
PAGES_BRANCH: gh-pages
|
||||
BUILD_DIR: docs/
|
||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user