Skip to content

Cleanup

Cleanup #385

Workflow file for this run

name: site
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
- run: npm ci
working-directory: ./site
- run: npm run build
working-directory: ./site
- name: Upload
uses: actions/upload-pages-artifact@v1
with:
path: ./site/_site/
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1