fixing actions
This commit is contained in:
17
.github/workflows/tests.yml
vendored
17
.github/workflows/tests.yml
vendored
@@ -35,13 +35,18 @@ jobs:
|
|||||||
cd docsource && make html
|
cd docsource && make html
|
||||||
make github
|
make github
|
||||||
cd ..
|
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
|
- name: Commit and Push Changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
run: |
|
||||||
with:
|
cd docs/
|
||||||
branch: main
|
git init
|
||||||
commit_message: auto-generated docs
|
git add -A
|
||||||
commit_options: '--no-verify'
|
git commit -m "Update documentation"
|
||||||
push_options: --force
|
git push --force --quiet "https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
|
||||||
- name: Setup test environment and run tests
|
- name: Setup test environment and run tests
|
||||||
env:
|
env:
|
||||||
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
OPENWEATHERMAP_API_KEY: ${{ secrets.OPENWEATHERMAP_API_KEY }}
|
||||||
|
Reference in New Issue
Block a user