From 45da85765cc5e524e8edf179fdc6eb76e14277df Mon Sep 17 00:00:00 2001 From: mauwii Date: Mon, 8 May 2023 21:10:20 +0200 Subject: [PATCH 1/2] add v2.3 branch to push trigger --- .github/workflows/mkdocs-material.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mkdocs-material.yml b/.github/workflows/mkdocs-material.yml index be665aee54..7d6c9516fb 100644 --- a/.github/workflows/mkdocs-material.yml +++ b/.github/workflows/mkdocs-material.yml @@ -4,6 +4,7 @@ on: branches: - 'main' - 'development' + - 'refs/heads/v2.3' permissions: contents: write From df024dd982ed48275e25843371f2b45d38dc5313 Mon Sep 17 00:00:00 2001 From: mauwii Date: Mon, 8 May 2023 21:50:00 +0200 Subject: [PATCH 2/2] bring changes from v2.3 branch over - remove main and development branch from trigger - they would fail without the updated toml - cache pip environment - update install method --- .github/workflows/mkdocs-material.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mkdocs-material.yml b/.github/workflows/mkdocs-material.yml index 7d6c9516fb..d6388bce8d 100644 --- a/.github/workflows/mkdocs-material.yml +++ b/.github/workflows/mkdocs-material.yml @@ -2,8 +2,6 @@ name: mkdocs-material on: push: branches: - - 'main' - - 'development' - 'refs/heads/v2.3' permissions: @@ -13,6 +11,10 @@ jobs: mkdocs-material: if: github.event.pull_request.draft == false runs-on: ubuntu-latest + env: + REPO_URL: '${{ github.server_url }}/${{ github.repository }}' + REPO_NAME: '${{ github.repository }}' + SITE_URL: 'https://${{ github.repository_owner }}.github.io/InvokeAI' steps: - name: checkout sources uses: actions/checkout@v3 @@ -23,11 +25,15 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10' + cache: pip + cache-dependency-path: pyproject.toml - name: install requirements + env: + PIP_USE_PEP517: 1 run: | python -m \ - pip install -r docs/requirements-mkdocs.txt + pip install ".[docs]" - name: confirm buildability run: |