Skip to content

Static site generation #48 from adamziel/static-site-generation #1

Static site generation #48 from adamziel/static-site-generation

Static site generation #48 from adamziel/static-site-generation #1

Workflow file for this run

name: Generate Static Site
on:
push:
branches:
- trunk
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Generate static site
run: node generate-static-site.js
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out