Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Sets the Git information before pushing the documentation build

Trenton Holmesd658150d4288
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