Skip to content

Commit

Permalink
Bump actions and use baseURL
Browse files Browse the repository at this point in the history
  • Loading branch information
RVR06 committed Jun 19, 2024
1 parent 325f832 commit 85b1bdb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,14 @@ jobs:
run:
working-directory: ${{ env.documentation_root }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
lfs: 'true'

- name: Setup Pages
id: pages
uses: actions/configure-pages@v4

- name: Setup Node
uses: actions/setup-node@v3
Expand All @@ -47,16 +50,16 @@ jobs:
run: npm ci

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2.6.0
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 0.123.8
extended: true

- name: Build
run: hugo --minify
run: hugo --minify --baseURL "${{ steps.pages.outputs.base_url }}/"

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.documentation_root }}/public

Expand All @@ -83,4 +86,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit 85b1bdb

Please sign in to comment.