From a4cacb4d5bf39fc1df83d9112f88f21afa9e9d26 Mon Sep 17 00:00:00 2001 From: Leon Linhart Date: Wed, 20 Mar 2024 22:42:31 +0100 Subject: [PATCH] build: fix pages publication --- .github/workflows/publish.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 65862b9..174d56e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -123,7 +123,7 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git fetch origin gh-pages --depth=1 + git fetch origin gh-pages - name: Get Version id: version @@ -172,7 +172,7 @@ jobs: git config --local user.name "github-actions[bot]" - name: Push to GH Pages - run: git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} gh-pages + run: git push origin gh-pages create-staging-repository: @@ -296,4 +296,9 @@ jobs: - name: Cleanup uses: GeekyEggo/delete-artifact@65041433121f7239077fa20be14c0690f70569de with: - name: ubuntu-latest-${{ env.WORKSPACE_ARTIFACT }} \ No newline at end of file + name: ubuntu-latest-${{ env.WORKSPACE_ARTIFACT }} + + - name: Cleanup + uses: GeekyEggo/delete-artifact@65041433121f7239077fa20be14c0690f70569de + with: + name: ubuntu-latest-${{ env.DOCS_BUNDLE_ARTIFACT }} \ No newline at end of file