From 194c6d8441a88d2e467000cc491cc5d3b626ca95 Mon Sep 17 00:00:00 2001 From: Gili Tzabari Date: Wed, 1 Jan 2025 10:28:40 -0500 Subject: [PATCH] Fixing workflow for publishing documentation --- .github/workflows/deploy_to_npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_to_npm.yml b/.github/workflows/deploy_to_npm.yml index 34c3242..6633aaf 100644 --- a/.github/workflows/deploy_to_npm.yml +++ b/.github/workflows/deploy_to_npm.yml @@ -130,7 +130,7 @@ jobs: - name: Publish documentation run: | - git checkout gh-pages -f + git checkout ${{ github.ref_name }} -f echo "INITIAL_GH_PAGES_POSITION=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" mkdir --parents "${{ needs.open-release.outputs.VERSION }}/docs" mv target/apidocs "${{ needs.open-release.outputs.VERSION }}/docs/api"