Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
docs: build 1.0 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pohly committed Jul 19, 2021
1 parent b58f9a7 commit d7a571e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- release-0.7
- release-0.8
- release-0.9
- release-1.0

jobs:
build:
Expand All @@ -29,7 +30,7 @@ jobs:
echo "<meta http-equiv=\"refresh\" content=\"0; URL='0.9/index.html'\" />" >"$HOME/output/index.html"
# "latest" used to be what "devel" is now, i.e. the documentation for the "devel"
# branch. Now it points to the latest stable release.
ln -s 0.9 "$HOME/output/latest"
ln -s 1.0 "$HOME/output/latest"
- name: Build latest
run: |
GITHUB_SHA=$(git rev-parse HEAD)
Expand Down Expand Up @@ -67,6 +68,16 @@ jobs:
rm -rf _work/venv
make vhtml
mv _output/html $HOME/output/0.9
- uses: actions/checkout@v2
with:
ref: release-1.0
- name: Build release-1.0
run: |
GITHUB_SHA=$(git rev-parse HEAD)
export GITHUB_SHA
rm -rf _work/venv
make vhtml
mv _output/html $HOME/output/1.0
- name: Deploy the docs
run: |
cd $HOME/output
Expand Down

0 comments on commit d7a571e

Please sign in to comment.