name: Update & Install Docs on: push: branches: - master paths: - .github/workflows/docs-update-install.yml - docs/installation/* # Allow to call the workflow manually workflow_dispatch: jobs: doc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v3 with: python-version: 3.9 - run: make install - run: make doc-update-install - uses: Automattic/action-commit-to-branch@master with: branch: master commit_message: | Auto-update install docs Via .github/workflows/docs-update-install.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}