mirror of
https://github.com/tonytins/tomas.git
synced 2025-12-19 23:24:42 -05:00
WIP documentation book
This commit is contained in:
parent
7c3230685b
commit
31e6c2d099
20 changed files with 281 additions and 12 deletions
30
.github/workflows/publish.yml
vendored
Normal file
30
.github/workflows/publish.yml
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Publish
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 1 * *"
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
timeout-minutes: 15
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup
|
||||
uses: peaceiris/actions-mdbook@v1
|
||||
with:
|
||||
mdbook-version: "latest"
|
||||
|
||||
- name: Build
|
||||
run: mdbook build ./docs
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
cname: tomas.tonybark.com
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./docs/book
|
||||
Loading…
Add table
Add a link
Reference in a new issue