Files
sfall/docs/generate.sh
T

16 lines
283 B
Bash
Raw Normal View History

2021-02-24 15:40:24 +07:00
#!/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"
2022-04-07 21:13:39 +08:00
bundle update github-pages
2021-02-24 15:40:24 +07:00
bundle install
bundle exec jekyll build