Skip to content

feat: replace dropdown with /notes/ directory page, simplify homepage #7

feat: replace dropdown with /notes/ directory page, simplify homepage

feat: replace dropdown with /notes/ directory page, simplify homepage #7

Workflow file for this run

# .github/workflows/build.yml
name: Build and Deploy Site
on:
workflow_dispatch: # triggered by notes CI
push:
branches: [main]
paths:
- 'src/**'
- '.eleventy.js'
- 'package.json'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm ci
- run: npm run build
- uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4