Skip to content

Merge pull request #10 from mijndert/Notes-3-28-2024 #17

Merge pull request #10 from mijndert/Notes-3-28-2024

Merge pull request #10 from mijndert/Notes-3-28-2024 #17

Workflow file for this run

name: Deploy website
on:
push:
branches: ['main']
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js current
uses: actions/setup-node@v4
with:
node-version: 21
cache: 'npm'
- name: Install dependencies & build
run: |
npm ci
npx eleventy
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist
publish_branch: gh-pages