From 50f02816641b5d216a98f3b6910dab12010b333f Mon Sep 17 00:00:00 2001 From: Xavier Raynaud Date: Wed, 17 Jan 2024 13:29:28 +0100 Subject: [PATCH] update in doc.yml --- .github/workflows/doc.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 4deae5f..4d4fcd1 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -33,6 +33,16 @@ jobs: - name: Render documentation from ttl run: python sphinx/ttl_to_rst.py + - name: Commit updated documentation + run: | + cd ${GITHUB_WORKSPACE} + git config --global user.email "${GIT_USER_EMAIL}" + git config --global user.name "${GIT_USER_NAME}" + git config pull.rebase false + git add . + git commit -m "Automatic update of github pages" + git push origin master + sphinx-build: