mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-19 04:26:39 +00:00
Ignore git rm
error in update docs CI
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
90bab6b88e
commit
15603e4aad
@ -97,7 +97,7 @@ update_nightly_doc() {
|
|||||||
update_release_doc() {
|
update_release_doc() {
|
||||||
cd "${WORK_DIR}/${CLONED_REPO_DIR}"
|
cd "${WORK_DIR}/${CLONED_REPO_DIR}"
|
||||||
VERSION=$(cat "${ASTER_SRC_DIR}/VERSION")
|
VERSION=$(cat "${ASTER_SRC_DIR}/VERSION")
|
||||||
git rm -rf "${VERSION}"
|
git rm -rf --ignore-unmatch "${VERSION}"
|
||||||
mkdir "${VERSION}"
|
mkdir "${VERSION}"
|
||||||
cp -r ${ASTER_SRC_DIR}/target/x86_64-unknown-none/doc/* ${VERSION}/
|
cp -r ${ASTER_SRC_DIR}/target/x86_64-unknown-none/doc/* ${VERSION}/
|
||||||
generate_redirect_index_html "https://asterinas.github.io/api-docs/${VERSION}/aster_frame"
|
generate_redirect_index_html "https://asterinas.github.io/api-docs/${VERSION}/aster_frame"
|
||||||
|
Reference in New Issue
Block a user