From b17e2aad4b396f2a9004b542d33a4c465f72e1ee Mon Sep 17 00:00:00 2001 From: Emanuele De Cupis Date: Fri, 7 Jul 2023 12:34:00 +0200 Subject: [PATCH] fix --- .github/workflows/gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 07d47ac6b..1a4540d08 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -46,7 +46,7 @@ jobs: - name: Build branch run: |- PATH="" - [[ "${{ GITHUB_HEAD_REF }}" != "versione_corrente" ]] && PATH="${GITHUB_HEAD_REF}/" # note the trailing slash + [[ "${{ GITHUB_REF }}" != "versione_corrente" ]] && PATH="${GITHUB_REF}/" # note the trailing slash sphinx-build -b html docs/it/ html/$PATH/it sphinx-build -b html docs/en/ html/$PATH/en