Skip to content

Build and Deploy

Build and Deploy #270

name: Build and Deploy
on:
push:
branches:
- main
schedule:
# Runs at 3 AM PST every day
- cron: '0 11 * * *'
workflow_dispatch: # allow manual triggering
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧
run: |
npm install
npm run build
touch ./build/.nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build