From d8898be4b834f695e7d0c99405f6d08e42ec6b0d Mon Sep 17 00:00:00 2001 From: Marc Garcia Date: Mon, 19 Sep 2022 22:51:59 +0100 Subject: [PATCH] Backport PR #48639: CI: Fix directory name for published prod docs --- .github/workflows/docbuild-and-upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docbuild-and-upload.yml b/.github/workflows/docbuild-and-upload.yml index 031e1ca054ba8..cfb4966847721 100644 --- a/.github/workflows/docbuild-and-upload.yml +++ b/.github/workflows/docbuild-and-upload.yml @@ -81,7 +81,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' - name: Upload prod docs - run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/version/${GITHUB_REF_NAME} + run: rsync -az --delete doc/build/html/ docs@${{ secrets.server_ip }}:/usr/share/nginx/pandas/pandas-docs/version/${GITHUB_REF_NAME:1} if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') - name: Move docs into site directory