Skip to content

Update component examples #15

Update component examples

Update component examples #15

name: Deploy to GitHub Pages
on:
push:
branches:
- master
paths:
- 'docs/**'
- '.github/workflows/docs-deployment.yml'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install Dependencies
run: cd docs && npm install
- name: Build
run: cd docs && npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./docs/build