Bump vite from 4.5.2 to 4.5.3 (#119) #41
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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Build Graphly D3 | |
run: npm install && npm run build | |
- name: Copy Changelog | |
run: cp CHANGELOG.md docs/ | |
- name: Build Docs | |
run: cd docs && npm install && npm run build | |
- name: Add CNAME | |
run: echo "docs.graphly.dev" > docs/.vitepress/dist/CNAME | |
- name: Deploy Docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/.vitepress/dist |