Skip to content

Commit cbed8b0

Browse files
authored
Using the steps.deployment.outputs.page_url as baseurl param for page generation (#89)
FIXME: steps.deployment.outputs.page_url is empty at this phase, temporally added the hardcoded site URL Signed-off-by: Hofi <[email protected]>
2 parents 5b63438 + 4b2984b commit cbed8b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ jobs:
7474
# A double build is needed currently as the _data/links/ content must be rendered from the final html output, so
7575
# the first run cannot use the not yet existing links
7676
#
77-
JEKYLL_BUILD_LINKS=yes bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
77+
# NOTE: using full, final url instead of steps.pages.outputs.base_path to satisfy the sitemap.xml generator plugin as well
78+
# FIXME: steps.deployment.outputs.page_url is empty at this phase, temporally added the hardcoded site URL
79+
JEKYLL_BUILD_LINKS=yes bundle exec jekyll build --baseurl "https://syslog-ng.github.io"
7880
79-
JEKYLL_BUILD_TOOLTIPS=yes bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
81+
JEKYLL_BUILD_TOOLTIPS=yes bundle exec jekyll build --baseurl "https://syslog-ng.github.io"
8082
8183
ls -AlR ./_site/assets/js
8284
env:

0 commit comments

Comments
 (0)