diff --git a/.github/workflows/publish-latest.yaml b/.github/workflows/publish-latest.yaml index 94a265c6c..7dcac94ed 100644 --- a/.github/workflows/publish-latest.yaml +++ b/.github/workflows/publish-latest.yaml @@ -69,6 +69,9 @@ jobs: git config --local user.email "philosowaffle@gmail.com" git config --local user.name "philosowaffle" + - name: Fetch gh-pages + run: git fetch origin gh-pages --depth=1 + - uses: actions/setup-python@v4 with: python-version: 3.x diff --git a/.github/workflows/publish-release.yaml b/.github/workflows/publish-release.yaml index 421739693..5f37fcec8 100644 --- a/.github/workflows/publish-release.yaml +++ b/.github/workflows/publish-release.yaml @@ -99,6 +99,9 @@ jobs: git config --local user.email "philosowaffle@gmail.com" git config --local user.name "philosowaffle" + - name: Fetch gh-pages + run: git fetch origin gh-pages --depth=1 + - uses: actions/setup-python@v4 with: python-version: 3.x