Merge pull request #475 from sima-land/470-select-refactor #309
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 Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install main pkg deps | |
run: | | |
npm ci | |
- name: Install docs pkg deps | |
run: | | |
npm ci | |
working-directory: docs | |
- name: Build docs | |
run: | | |
NODE_ENV=production npm run build | |
working-directory: docs | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/dist |