Skip to content

Commit 6d3ee31

Browse files
committed
Setting up workflow for building docs
Signed-off-by: RJ Garcia <[email protected]>
1 parent 79187d8 commit 6d3ee31

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/docs.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: docs
2+
3+
on:
4+
push:
5+
branches:
6+
- v3
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Setup Hugo
15+
uses: peaceiris/actions-hugo@v2
16+
with:
17+
hugo-version: '0.79.1'
18+
19+
- name: Build
20+
run: hugo --minify -s doc
21+
22+
- name: Deploy
23+
uses: peaceiris/actions-gh-pages@v3
24+
with:
25+
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
publish_dir: ./doc/public

0 commit comments

Comments
 (0)