Skip to content

Commit d3c1931

Browse files
committed
added github action to copy docs to gh-pages branch
1 parent 22ab1d9 commit d3c1931

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: github pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-18.04
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Deploy to gh-pages
15+
uses: peaceiris/actions-gh-pages@v3
16+
with:
17+
github_token: ${{ secrets.GITHUB_TOKEN }}
18+
publish_dir: "./docs"

0 commit comments

Comments
 (0)