2019-12-30 08:24:08 +03:00
|
|
|
#!/bin/bash
|
2021-04-05 22:29:13 +03:00
|
|
|
set -x
|
2019-12-30 08:24:08 +03:00
|
|
|
|
|
|
|
[[ -f /tmp/wezterm.releases.json ]] || curl https://api.github.com/repos/wez/wezterm/releases > /tmp/wezterm.releases.json
|
2021-04-05 22:29:13 +03:00
|
|
|
[[ -f /tmp/wezterm.nightly.json ]] || curl https://api.github.com/repos/wez/wezterm/releases/tags/nightly > /tmp/wezterm.nightly.json
|
2021-02-01 04:15:35 +03:00
|
|
|
python3 ci/subst-release-info.py || exit 1
|
|
|
|
python3 ci/generate-docs.py || exit 1
|
2019-12-30 08:24:08 +03:00
|
|
|
mdbook build docs
|
|
|
|
|
2021-12-12 17:54:01 +03:00
|
|
|
rm gh_pages/html/README.markdown
|
2022-02-03 18:19:51 +03:00
|
|
|
cp assets/fonts/Symbols-Nerd-Font-Mono.ttf gh_pages/html/fonts/
|
2021-02-24 20:27:13 +03:00
|
|
|
cp assets/icon/terminal.png gh_pages/html/favicon.png
|
2021-12-30 04:10:54 +03:00
|
|
|
cp "assets/icon/wezterm-icon.svg" gh_pages/html/favicon.svg
|