From 918abde014f9e5c75dfbe21110c379f7f70435c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 12 Feb 2023 11:06:28 +0100 Subject: Merging upstream version 11.0.1. Signed-off-by: Daniel Baumann --- .github/workflows/python-package.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 8cd3634..555ac5b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -22,5 +22,17 @@ jobs: python -m pip install --upgrade pip make install-dev - name: Run checks (linter, code style, tests) + run: make check + - name: Update documentation run: | - make check + make docs + git add docs + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git commit -m "CI: Auto-generated documentation" -a | exit 0 + if: ${{ matrix.python-version == '3.10' && github.event_name == 'push' }} + - name: Push changes + if: ${{ matrix.python-version == '3.10' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} -- cgit v1.2.3