Skip to content

Commit

Permalink
Using the steps.deployment.outputs.page_url as baseurl param for page…
Browse files Browse the repository at this point in the history
… generation

Signed-off-by: Hofi <[email protected]>
  • Loading branch information
HofiOne committed Jun 6, 2024
1 parent 5b63438 commit 727de08
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,11 @@ jobs:
# A double build is needed currently as the _data/links/ content must be rendered from the final html output, so
# the first run cannot use the not yet existing links
#
JEKYLL_BUILD_LINKS=yes bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
# NOTE: using full, final url instead of steps.pages.outputs.base_path to satisfy the sitemap.xml generator plugin as well
#
JEKYLL_BUILD_LINKS=yes bundle exec jekyll build --baseurl "${{ steps.deployment.outputs.page_url }}"
JEKYLL_BUILD_TOOLTIPS=yes bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
JEKYLL_BUILD_TOOLTIPS=yes bundle exec jekyll build --baseurl "${{ steps.deployment.outputs.page_url }}"
ls -AlR ./_site/assets/js
env:
Expand Down

0 comments on commit 727de08

Please sign in to comment.