Skip to content

Commit 55a2717

Browse files
committed
ci: fixed index page not showing old versions
1 parent 8e9e4b7 commit 55a2717

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
java-version: '11'
1818
- name: Use tag as version
1919
run: echo "${GITHUB_REF#refs/*/}" > version.txt
20+
- name: Checkout Old Docs Versions for Index Page
21+
uses: actions/checkout@v3
22+
with:
23+
ref: gh-pages
24+
path: build/dokka
2025
- name: Generate Docs with Dokka
2126
run: ./gradlew dokkaHtmlMultiModule
2227
- name: Publish to GitHub Pages

0 commit comments

Comments
 (0)