This commit is contained in:
StefMa
2021-02-16 09:24:52 +01:00
parent 0fa1741f38
commit fa13a72e60
8 changed files with 481 additions and 0 deletions

29
.github/workflows/docs-to-gh-pages.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Deploy docs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.58.3'
extended: true
- name: Build
run: hugo --minify
working-directory: docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_dir: docs/public