Skip to content

Commit

Permalink
fix variables
Browse files Browse the repository at this point in the history
  • Loading branch information
balanza authored Jul 7, 2023
1 parent 124eea4 commit 48e040e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ jobs:
- name: Build branch
run: |-
PATH=""
[[ "$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
[[ "$GITHUB_REF" != "versione_corrente" ]] && P="${GITHUB_REF}/" || P="" # note the trailing slash
sphinx-build -b html docs/it/ html/$P/it
sphinx-build -b html docs/en/ html/$P/en
# Runs a single command using the runners shell
- name: Create GH page index
Expand Down

0 comments on commit 48e040e

Please sign in to comment.