fixing actions

This commit is contained in:
Ace 2023-06-03 17:51:05 +02:00
parent 5d1a6016e6
commit 9b72462166

View File

@ -35,13 +35,18 @@ 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'
- name: Commit and Push Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: main
commit_message: auto-generated docs
commit_options: '--no-verify'
push_options: --force
run: |
cd docs/
git init
git add -A
git commit -m "Update documentation"
git push --force --quiet "https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
- name: Setup test environment and run tests
env:
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}