Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into samedev
  • Loading branch information
peppelinux committed Jul 24, 2023
2 parents eff780e + 6cd8731 commit 825007c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: gh-pages

on:
push:
branches: ["versione-corrente"]
branches: ["*"]
paths-ignore:
- README.md
- CONTRIBUTING.md
Expand All @@ -24,7 +24,7 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand Down Expand Up @@ -53,12 +53,12 @@ jobs:
SUBPATH="v$TAG/" # note the trailing slash
echo "Building for TAG: $SUBPATH"
else
SUBPATH="${GITHUB_HEAD_REF}/" # note the trailing slash
SUBPATH=$(echo "$GITHUB_REF" | sed "s/refs\/heads\///") # "${GITHUB_HEAD_REF}/" # note the trailing slash
echo "Building for PR: $SUBPATH"
fi
echo "Publishing $SUBPATH"
sphinx-build -b html docs/it/ html/$SUBPATHit
sphinx-build -b html docs/en/ html/$SUBPATHen
sphinx-build -b html docs/it/ html/$SUBPATH/it
sphinx-build -b html docs/en/ html/$SUBPATH/en
# Runs a single command using the runners shell
- name: Create GH page index
Expand Down

0 comments on commit 825007c

Please sign in to comment.