build(deps): bump browserify-sign from 4.2.1 to 4.2.2 (#109) #32
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: API Docs Deployment | |
on: | |
push: | |
branches: | |
- openapi3 | |
jobs: | |
deploy: | |
name: GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Use node 16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: Restore cache | |
uses: actions/cache@v2 | |
with: | |
path: node_modules | |
key: yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: yarn- | |
- name: Install yarn dependencies | |
run: yarn install | |
- name: Build documentation | |
run: yarn start:bundle | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: docs | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |