From d3c19312c568b27b4d64f0db898f841cbc0b8072 Mon Sep 17 00:00:00 2001 From: Steve Gill Date: Wed, 19 Aug 2020 17:27:05 -0700 Subject: [PATCH] added github action to copy docs to gh-pages branch --- .github/workflows/gh-pages.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 000000000..e5553c508 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -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"