Add flake.nix with Nix derivations for website and PDF; update workflow to use nix build
Some checks failed
Build and Deploy to Storj / build-and-deploy (push) Failing after 1s

This commit is contained in:
Scott Scoble 2026-04-28 22:49:40 -07:00
parent c7a466de3d
commit 12d1e66c2d
2 changed files with 90 additions and 3 deletions

View file

@ -12,10 +12,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Build
- name: Build website with Nix
run: nix build .#website --no-write-lock-file
- name: Build speaker profile PDF
run: nix build .#speaker-profile --no-write-lock-file
- name: Copy build artifacts
run: |
npm ci
npm run build
mkdir -p ./dist
cp -r result/* ./dist/
mkdir -p ./public/downloads
cp result-2/* ./public/downloads/ 2>/dev/null || true
- name: Configure rclone
run: |