Skip to content

Update README.md

Update README.md #33

Workflow file for this run

name: pages
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
contents: read
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Eleventy cache
uses: actions/cache@v3
with:
path: .cache
key: ${{ runner.os }}-eleventy
- run: curl -sfL $BEANCOUNTER_DATA_URL > _data/beancounter.json
env:
BEANCOUNTER_DATA_URL: ${{ secrets.BEANCOUNTER_DATA_URL }}
- run: npm ci
- name: Build website
run: npm run build
env:
NODE_ENV: production
URL_HASH_SECRET: ${{ secrets.URL_HASH_SECRET }}
TZ: Europe/London
- run: cat members.csv
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v2
with:
path: _site
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3