Skip to content

Checkpoints 2.0

Checkpoints 2.0 #13

# This workflow builds then deploys our docs.fdnd.nl site.
name: Build and deploy
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
npm ci
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./build
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
cname: docs.fdnd.nl