#!/usr/bin/env bash # Cloudflare Pages build: Jobley is our recruiting board. tools/build-board.py writes the pages from # tools/jobs.json, then the deployable site is copied into dist/. Retired volunteer pages are left out. set -euo pipefail python3 tools/build-board.py rm -rf dist && mkdir dist for f in * ; do case "$f" in dist|tools|functions|src|migrations|test|downloads|node_modules|package.json|package-lock.json|wrangler.toml|README.md|LICENSE) continue ;; esac case "$f" in volunteer|careers|projects|moderators|compare|help|app|licenses|sitemap.xml|llms.txt|66365049776433ceca35572e03fca658.txt) continue ;; esac cp -R "$f" dist/ done cp _headers _redirects _routes.json dist/