From 51a4bc4de3906f5cdf2086ebf7b2f5ac2f935631 Mon Sep 17 00:00:00 2001 From: Alessandro Pomponio <10339005+AlessandroPomponio@users.noreply.github.com> Date: Mon, 22 Jul 2024 15:42:14 +0200 Subject: [PATCH] fix(ci): building website would fail if gh-pages branch wasn't pulled (#373) Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com> --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33d55505..a62d0c3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,11 @@ jobs: contents: write runs-on: ubuntu-latest steps: + # Ensure we have the gh-pages branch locally + - uses: actions/checkout@v3 + with: + ref: gh-pages + # This will check us out back to main - uses: actions/checkout@v3 - uses: actions/setup-python@v2 with: