From d6cb5fb39f9d4a0079079bc6412219b705872131 Mon Sep 17 00:00:00 2001 From: "Brian \"bits\" Olsen" Date: Fri, 19 Jan 2024 13:14:26 -0800 Subject: [PATCH] Init git credentials in site-ci (#9525) --- .github/workflows/site-ci.yml | 5 ++++- site/dev/deploy.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/site-ci.yml b/.github/workflows/site-ci.yml index 2532e493e662..b0a375a37cfa 100644 --- a/.github/workflows/site-ci.yml +++ b/.github/workflows/site-ci.yml @@ -33,5 +33,8 @@ jobs: with: python-version: 3.x - name: Deploy Iceberg documentation - run: make deploy + run: | + git config --global user.name 'GitHub Actions' + git config --global user.email 'actions@github.com' + make deploy working-directory: ./site diff --git a/site/dev/deploy.sh b/site/dev/deploy.sh index bc0167e20493..64c7276e5c0b 100755 --- a/site/dev/deploy.sh +++ b/site/dev/deploy.sh @@ -20,5 +20,5 @@ set -e ./dev/setup_env.sh -mkdocs gh-deploy --remote-name "${REMOTE}" # --remote-branch asf-site +mkdocs gh-deploy --no-history # --remote-branch asf-site