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

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

commit 82b4b976257682be20073f6582aaa1fa71d9cf67
Author: Jia Yu <[email protected]>
AuthorDate: Wed Apr 3 12:13:58 2024 -0700

    Prepull the website branch before deploying
---
 .github/workflows/docs.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 4bac4506c..bec60e01e 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -50,6 +50,7 @@ jobs:
     - run: git config --global user.name = "GitHub Action"
     - run: git config --global user.email = "[email protected]"
     - run: mkdocs build
+    - run: git fetch origin website --depth=1
     - name: Deploy the doc to the website branch
       if: ${{ github.event_name != 'pull_request' }}
       run: mike deploy latest-snapshot -b website -p

Reply via email to