Uprage libs #96
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
# | |
# Builds docs and deploy to GitHub pages | |
# | |
name: Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy_pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- run: yarn install | |
- run: yarn doc | |
- run: touch docs/.nojekyll | |
- name: Deploy docs 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages | |
FOLDER: docs |