From d658150d4288ffaf7d9c186cffc1b3345d4c3453 Mon Sep 17 00:00:00 2001 From: Trenton Holmes <797416+stumpylog@users.noreply.github.com> Date: Wed, 6 Dec 2023 19:20:08 -0800 Subject: [PATCH] Sets the Git information before pushing the documentation build --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afcf0b745..9f1c78f49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,8 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' run: | echo "docs.paperless-ngx.com" > "${{ github.workspace }}/docs/CNAME" + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor }}@users.noreply.github.com" pipenv --python ${{ steps.setup-python.outputs.python-version }} run mkdocs gh-deploy --force --no-history - name: Upload artifact