Skip to content

Merge pull request #473 from sima-land/472-gradients-and-colors-upd #307

Merge pull request #473 from sima-land/472-gradients-and-colors-upd

Merge pull request #473 from sima-land/472-gradients-and-colors-upd #307

Workflow file for this run

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