Skip to content

Publishing the website... #1

Publishing the website...

Publishing the website... #1

name: publish-website
run-name: Publishing the website...
on:
push:
branches: [ "main" ]
paths:
- website/**
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: latest
- name: Build the website
run: |
cd website
npm install --legacy-peer-deps
npm run build
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: website/dist