Skip to content

3.1.2

3.1.2 #9

Workflow file for this run

name: Build and Deploy to GitHub Pages
permissions:
contents: write
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build
run: |
yarn
yarn build-example
mkdir -p dist
cp -r examples dist/examples
cp index.html dist/
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.