Skip to content

Commit

Permalink
Added docs to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mongkok committed Aug 11, 2021
1 parent 02c4494 commit 03c60e1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docs

on:
push:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2

- uses: ammaraskar/sphinx-action@master
with:
docs-folder: docs/

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./docs/_build/html
cname: django-graphql-jwt.domake.io
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}

0 comments on commit 03c60e1

Please sign in to comment.