Skip to content

Eleventy Build

Eleventy Build #1

Workflow file for this run

name: Eleventy Build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js current
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies & build
run: |
npm ci
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: dist
publish-branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}