Skip to content

Improve failure message styling #27

Improve failure message styling

Improve failure message styling #27

name: Build and deploy website
on:
push:
branches:
- main # if any push happens on branch `master`, run this workflow. You could also add `paths` to detect changes in specific folder
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run:
npm install
- name: Build 🔧
run:
npm run build
working-directory: ./packages/website
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ./packages/website/dist # output folder from `npm run build:website`