Skip to content

Commit

Permalink
Action for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
wallento committed Jun 11, 2020
1 parent 75de2f4 commit 620d662
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: github pages

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

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

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html

0 comments on commit 620d662

Please sign in to comment.