Skip to content

Commit

Permalink
added github action to copy docs to gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed Aug 20, 2020
1 parent 22ab1d9 commit d3c1931
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: github pages

on:
push:
branches:
- main

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

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

0 comments on commit d3c1931

Please sign in to comment.