Skip to content

Commit 03c60e1

Browse files
author
mongkok
committed
Added docs to github actions
1 parent 02c4494 commit 03c60e1

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-python@v2
14+
15+
- uses: ammaraskar/sphinx-action@master
16+
with:
17+
docs-folder: docs/
18+
19+
- name: Deploy to GitHub Pages
20+
uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
publish_dir: ./docs/_build/html
23+
cname: django-graphql-jwt.domake.io
24+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}

0 commit comments

Comments
 (0)