Deploy, update tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user