Skip to content

Commit 929ba5f

Browse files
authored
fix: last commit didn't copy correct folder
1 parent e87cdda commit 929ba5f

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
strategy:
2626
matrix:
2727
version:
28-
- latest
2928
- v0
3029
- main
3130
# Add any other refs you want to build docs for here
@@ -56,9 +55,9 @@ jobs:
5655
# TODO: remove the below when 'latest' and 'v0' is up to date
5756
cp -r bazel-bin/mkdocs/site/* ./docs-html/${{ steps.formatted-ref-name.outputs.formatted_ref_name }}/ || true
5857
cp -r bazel-bin/site/* ./docs-html/${{ steps.formatted-ref-name.outputs.formatted_ref_name }}/ || true
59-
- name: Copy latest to root
58+
- name: Use main as default docs
6059
if: matrix.version == 'main'
61-
run: cp -r docs-html/latest/* docs-html/
60+
run: cp -r docs-html/main/* docs-html/
6261
- name: Upload artifact
6362
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
6463
with:

0 commit comments

Comments
 (0)