Skip to content

docs: draft

docs: draft #1

Workflow file for this run

name: Pages Build and Deploy
on:
push:
branches: [main, niek/monday]
pull_request:
workflow_dispatch:
permissions:
contents: write
pages: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-22.04
container: node:16-buster
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🔧 Install
run: |
yarn
- name: 🔧 Build pages
run: |
yarn run build-html build-pdf
- name: 🔔 Installing required tools tools
if: github.event_name != 'pull_request'
run: |
apt-get update
apt-get install -y rsync
- name: 🚀 Deploy
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: build