You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ji...@apache.org on 2024/04/03 19:14:08 UTC
(sedona) 01/01: Prepull the website branch before deploying
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 <ji...@apache.org>
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 = "test@abc.com"
- 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