Skip to content

Add the Natural Capital Primer project #24

Add the Natural Capital Primer project

Add the Natural Capital Primer project #24

name: Eleventy Build
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NODE_VERSION=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
id: nvm
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NODE_VERSION }}'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Build
run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./dist
cname: clementprodhomme.fr