This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch branch-1.6.1
in repository https://gitbox.apache.org/repos/asf/sedona.git


The following commit(s) were added to refs/heads/branch-1.6.1 by this push:
     new 1c9f06c73 [DOCS] Make sure CI updates the latest alias automatically
1c9f06c73 is described below

commit 1c9f06c73c96ec1d7131a71dea94dd435e6eb452
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.

Reply via email to