Deploy, update tests

This commit is contained in:
Tim Ruffles
2019-12-20 12:42:04 +00:00
parent ce6486363e
commit 3195503f1f
4 changed files with 9 additions and 4 deletions
+5 -3
View File
@@ -1,19 +1,21 @@
on:
push:
branches: ["master", "deploy-test"]
branches: ["master"]
jobs:
depoy:
runs-on: ubuntu-latest
steps:
- run: mkdir gh-pages
- uses: actions/checkout@v2
- run: mkdir gh-pages
- run: cp favicon.ico gh-pages
- uses: ./
with:
format: html
output: ./gh-pages/index.html
- run: ls gh-pages
- uses: peaceiris/actions-gh-pages@v2
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_DIR: ./gh-pages
PUBLISH_DIR: gh-pages
PUBLISH_BRANCH: gh-pages