Skip to content

Commit

Permalink
Merge branch 'italia:versione-corrente' into versione-corrente
Browse files Browse the repository at this point in the history
  • Loading branch information
NetBender authored Jul 17, 2023
2 parents f08e70b + 97e140a commit 7234d2b
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 @@ -49,14 +49,14 @@ jobs:
- name: Build branch
run: |-
if [[ "$GITHUB_REF" = /refs/tags/* ]]; then
replace=/refs/tags/
TAG=$(echo "$GITHUB_REF" | sed "s/\/refs\/tags\///")
SUBPATH="v$TAG/" # note the trailing slash
echo "Building for TAG: $SUBPATH"
else
SUBPATH="${GITHUB_HEAD_REF}/" # note the trailing slash
echo "Building for PR: $SUBPATH"
fi
echo "Publish on $SUBPATH sub path"
echo "Publishing $SUBPATH"
sphinx-build -b html docs/it/ html/$SUBPATHit
sphinx-build -b html docs/en/ html/$SUBPATHen
Expand All @@ -67,11 +67,11 @@ jobs:
echo '
<html>
<head>
<title>Italian eIDAS Wallet Technical Specifications</title>
<title>EUDI Wallet docs</title>
<meta name="viewport" content="initial-scale=1.0">
</head>
<body>
<h1>Italian eIDAS Wallet Technical Specifications</h1>
<h1>EUDI Wallet docs</h1>
<ul>
<li><a href="it/">Italian version</a></li>
Expand Down

0 comments on commit 7234d2b

Please sign in to comment.