Skip to content

docs/add contributing doc (#328) #86

docs/add contributing doc (#328)

docs/add contributing doc (#328) #86

Workflow file for this run

name: Examples
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('yarn.lock') }}
- name: Install dependencies
run: yarn
- name: Build examples
run: yarn gh-predeploy
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: demo/examples
CLEAN: true