This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 958a703b1 [DOCS] Make sure CI updates the latest alias automatically
958a703b1 is described below
commit 958a703b1eb16566f6ef4a86a495500dcf0a3508
Author: Jia Yu <[email protected]>
AuthorDate: Sat Aug 24 23:01:38 2024 -0700
[DOCS] Make sure CI updates the latest alias automatically
---
.github/workflows/docs.yml | 2 +-
docs/community/publish.md | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index dd6bdfb6b..1fb826fab 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -61,7 +61,7 @@ jobs:
elif [[ "${GITHUB_REF##*/}" =~ ^branch-[0-9]+\.[0-9]+\.[0-9]+$ ]];
then
git fetch origin website --depth=1
version="${GITHUB_REF##*/branch-}"
- mike deploy "$version" -b website -p
+ mike deploy --update-aliases "$version" latest -b website -p
fi
- run: mkdir staging
- run: cp -r site/* staging/
diff --git a/docs/community/publish.md b/docs/community/publish.md
index 234acb837..f5836f8c1 100644
--- a/docs/community/publish.md
+++ b/docs/community/publish.md
@@ -402,5 +402,4 @@ Then submit to CRAN using this [web
form](https://xmpalantir.wu.ac.at/cransubmit
3. Add the news to `docs/index.md`.
4. Push the changes to this branch on GitHub.
5. GitHub CI will pick up the changes and deploy to `website` branch.
-6. Once the deployment is done, check out the `website` branch. In [this
file](https://github.com/apache/sedona/blob/website/versions.json), put
`latest` to the `aliases` of the version to release.
-7. Normally [this repo](https://github.com/jiayuasu/sedona-sync-action) will
automatically publish the website on a daily basis.
+6. Normally [this repo](https://github.com/jiayuasu/sedona-sync-action) will
automatically publish the website on a daily basis.