]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Sets the Git information before pushing the documentation build
authorTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Thu, 7 Dec 2023 03:20:08 +0000 (19:20 -0800)
committerTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Thu, 7 Dec 2023 03:20:08 +0000 (19:20 -0800)
.github/workflows/ci.yml

index afcf0b7457d36f35214fe1374914e1e432e2cda6..9f1c78f4980951a2b230ad7e9ac1119be9a2c050 100644 (file)
@@ -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