Skip to content

Commit 84cb8ad

Browse files
authored
Merge pull request #154 from aliceinwire/docs_versioning
hugo: Fix baseurl versioning link
2 parents b2e8cc0 + 29d4109 commit 84cb8ad

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,11 @@ jobs:
6969
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
7070
git fetch --all --tags
7171
git checkout tags/v0.1.4
72-
sed -i 's/{version}/v0.1.4/' hugo.toml
72+
sed -i 's/{version}/v0.1.4\//' hugo.toml
7373
hugo \
7474
--gc \
7575
--theme PaperMod \
7676
--minify \
77-
--baseURL "${{ steps.pages.outputs.base_url }}/" \
7877
--destination ./public/v0.1.4
7978
- name: Build with Hugo v0.1.3
8079
env:
@@ -87,12 +86,11 @@ jobs:
8786
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
8887
git fetch --all --tags
8988
git checkout tags/v0.1.3
90-
sed -i 's/{version}/v0.1.3/' hugo.toml
89+
sed -i 's/{version}/v0.1.3\//' hugo.toml
9190
hugo \
9291
--gc \
9392
--theme PaperMod \
9493
--minify \
95-
--baseURL "${{ steps.pages.outputs.base_url }}/" \
9694
--destination ./public/v0.1.3
9795
- name: Build with Hugo version
9896
env:

0 commit comments

Comments
 (0)