From d41093b138d2574661f43a4ad5f6b11463e7475c Mon Sep 17 00:00:00 2001 From: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Sat, 6 Apr 2024 17:34:12 +0200 Subject: [PATCH] fix: fix docs build workflow (#60) --- .github/workflows/{release.yaml => ci.yaml} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename .github/workflows/{release.yaml => ci.yaml} (97%) diff --git a/.github/workflows/release.yaml b/.github/workflows/ci.yaml similarity index 97% rename from .github/workflows/release.yaml rename to .github/workflows/ci.yaml index efacbfd..139ec64 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/ci.yaml @@ -1,4 +1,4 @@ -name: Create release +name: CI on: workflow_dispatch: @@ -115,6 +115,8 @@ jobs: restore-keys: | mkdocs-material- - run: poetry install --no-interaction + - name: Fetch gh-pages remote changes (if any) + run: git fetch origin gh-pages --depth=1 - name: Deploy main docs if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }} run: poetry run mike deploy --push main