Skip to content

1.4.0

1.4.0 #65

Workflow file for this run

name: Deploy
defaults:
run:
working-directory: example
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: 🌐 Deploy demo to Github Pages
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v3
- name: 🛠️ Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: 📦 Install dependencies
uses: bahmutov/npm-install@v1
with:
working-directory: example
- name: 🏗️ Build
run: npm run build
- name: 🌐 Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example/dist