Skip to content

Commit

Permalink
docs: centralize doc building logic to ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed May 3, 2020
1 parent ba80458 commit 7018720
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,8 @@ jobs:
- name: Build
run: |
source $HOME/.cargo/env
curl https://api.github.com/repos/wez/wezterm/releases > /tmp/wezterm.releases.json
python3 ci/subst-release-info.py
~/mdbook-bin/mdbook build docs
mv gh_pages/book.js gh_pages/book.2
cat docs/lua.js gh_pages/book.2 > gh_pages/book.js
rm gh_pages/book.2
PATH="$HOME/mdbook-bin:$PATH"
./ci/build-docs.sh
- name: Deploy
if: success()
uses: crazy-max/ghaction-github-pages@v1
Expand Down

0 comments on commit 7018720

Please sign in to comment.