From eb1bb17455d29e781d5c9e1f84ea59c21209c65a Mon Sep 17 00:00:00 2001 From: Ace Date: Sat, 3 Jun 2023 18:08:19 +0200 Subject: [PATCH] fixing actions --- .github/workflows/tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e7e01a4..cb91f4f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,10 +35,12 @@ jobs: cd docsource && make html make github cd .. + - name: Configure Git run: | git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' + git config --global push.autoSetupRemote true - name: Commit and Push Changes run: | @@ -46,7 +48,7 @@ jobs: git init git add -A git commit -m "Update documentation" - git push --force --quiet --set-upstream origin HEAD + git push --force --quiet origin head - name: Setup test environment and run tests env: OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}