Code style #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Hook Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
hookdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js 10 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '10.x' | |
- name: npm install, and build docs | |
run: | | |
npm install | |
npm run build:docs | |
- name: Deploy to GH Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: './docs' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |