Skip to content

Deploy Homepage

Deploy Homepage #10

name: Deploy Homepage
on:
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'yarn'
- name: Install and Build
run: |
yarn install --frozen-lockfile
yarn build:demo
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist/apps/demo/browser # The folder the action should deploy.