Merge pull request #24 from danielhjacobs/danielhjacobs-patch-2 #12
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: Documentation | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: volta-cli/action@v4 | |
- name: Install | |
run: npm ci | |
# Build first, since the node_modules will link to the local packages while mono-docs requires tsx-dom to be present | |
- name: Build | |
run: npm run build | |
- name: Build Docs | |
run: npm run docs:build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs-dist |