From b0b5f663ef0d641427d1ac7a02dbb9b5248ebd93 Mon Sep 17 00:00:00 2001 From: Callum Dickinson Date: Sat, 9 Dec 2023 20:01:27 +1300 Subject: [PATCH] Fix publish --- .github/workflows/main.yml | 4 ++-- .github/workflows/publish.yml | 6 +++++- .github/workflows/pull_request.yml | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1f68582..dcae781 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,9 +7,9 @@ on: jobs: build: - name: Build docs + name: Build uses: ./.github/workflows/build.yml publish: - name: Publish docs + name: Publish uses: ./.github/workflows/publish.yml needs: build diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 328f295..706f037 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,11 @@ jobs: name: GitHub Pages runs-on: ubuntu-22.04 steps: - - name: Download Buildarr Docs from build artifacts + - name: Checkout with submodules + uses: actions/checkout@v3 + with: + submodules: true + - name: Download docs from build artifacts uses: actions/download-artifact@v3 with: name: buildarr-docs diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 992a1eb..27f5544 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,9 +5,9 @@ on: jobs: pre-commit: - name: Run pre-commit hooks + name: Pre-commit uses: ./.github/workflows/pre-commit.yml build: - name: Build docs + name: Build uses: ./.github/workflows/build.yml needs: pre-commit