Files
sfall/docs/generate.sh
T
2026-06-17 09:55:05 +08:00

17 lines
330 B
Bash
Executable File

#!/bin/bash
set -xeu -o pipefail
site_dir="docs"
yml_dir="../artifacts/scripting"
pages_dir="pages"
cd "$site_dir"
mkdir -p "$pages_dir"
./yaml_to_md.py "$yml_dir/functions.yml" "$yml_dir/hooks.yml" "$pages_dir"
bundle config set --local path 'vendor/bundle'
bundle update github-pages
bundle install
bundle exec jekyll build