feat: update diagram viewer #52
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 gh-pages | |
on: | |
push: | |
branches: | |
- master | |
- none | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: install node-v16 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.16.0' | |
- name: install dependencies | |
run: | | |
node -v | |
npm install -g [email protected] | |
pnpm install --registry=https://registry.npmjs.org/ | |
- name: build project | |
run: | | |
npm run build | |
- name: deploy project | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: packages/react/build |