fixing actions
This commit is contained in:
parent
5d1a6016e6
commit
9b72462166
17
.github/workflows/tests.yml
vendored
17
.github/workflows/tests.yml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user