Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

[Website] Fix website publish #20573

Merged
merged 6 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1219,7 +1219,7 @@ build_docs() {

# copy the full site for this version to versions folder
mkdir -p html/versions/master
for f in 404.html api assets blog community ecosystem features feed.xml get_started index.html; do
for f in 404.html api assets blog community ecosystem features feed.xml get_started index.html .asf.yaml; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .asf.yaml would already be in html/. Do we need to copy it to html/versions/master?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing it out. If .asf.yaml is already in html/ then we do not need to pack it into versions/master again.

cp -r html/$f html/versions/master/
done

Expand Down
2 changes: 2 additions & 0 deletions docs/static_site/src/.asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
publish:
whoami: asf-site