Skip to content

Deploy Website

Deploy Website #56

Workflow file for this run

name: Deploy Website
on:
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install pnpm
run: corepack enable && pnpm -v
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'pnpm'
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm run install:website
- name: Build Site
run: pnpm run build:website
- name: Setup git user
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: website/dist
git-config-name: gh-pages-bot
git-config-email: 41898282+github-actions[bot]@users.noreply.github.com
clean: false