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 }}