Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Update git head

Update git head #103

name: Build and deploy website
on:
push:
branches:
- master # 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: 16
- name: Install
run:
npm install
- name: Build 🔧
run:
npm run build:website
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`