Merge pull request #266 from convergence-rfq/dependabot/npm_and_yarn/… #64
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: Deploy Docs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy-typedocs: | |
runs-on: ubuntu-latest | |
env: | |
NODE_VERSION: 12.x | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Yarn | |
run: npm install --global yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build docs | |
run: yarn docs | |
- name: Deploy to gh-pages | |
uses: crazy-max/ghaction-github-pages@v1 | |
with: | |
target_branch: gh-pages | |
build_dir: docs | |
jekyll: false | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |