Skip to content

Commit e040b65

Browse files
committed
Fix version dropdown hyperlinks for staging builds
1 parent eae0001 commit e040b65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main-staging.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555
hugo_root_path=docs/staging/${{ github.ref_name }}
5656
fi \
5757
&& sed -i "s#baseURL = \"https://redis.io\"#baseURL = \"https://redis.io/$hugo_root_path\"#g" config.toml
58+
sed -i "s#https://redis.io/docs/latest#https://redis.io/$hugo_root_path#g" layouts/partials/docs-nav.html
5859
}
5960
6061
setBaseUrl

0 commit comments

Comments
 (0)