Skip to content

Merge pull request #5 from krutoo/refector #12

Merge pull request #5 from krutoo/refector

Merge pull request #5 from krutoo/refector #12

Workflow file for this run

name: Deploy demo on Github Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Install and Build
working-directory: ./example
run: |
npm ci
npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: example/dist