Skip to content

Commit

Permalink
Publish documentation with GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Sep 2, 2020
1 parent ab2829f commit d820de7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy Documentation
on:
push:
branches: [master]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2

- name: Install dependencies
run: |
pip install nox
npm install
- name: Generate documentation
run: nox -s docs

- name: Upload to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/docs/

0 comments on commit d820de7

Please sign in to comment.