Skip to content

Commit

Permalink
Mess around with baseURL a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
pixincreate committed Oct 23, 2023
1 parent 27ee94f commit afee363
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
Expand All @@ -35,12 +41,6 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass

- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
Expand All @@ -57,7 +57,8 @@ jobs:
hugo \
--gc \
--minify \
--environment "${HUGO_ENVIRONMENT}"
--environment "${HUGO_ENVIRONMENT}" \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down

0 comments on commit afee363

Please sign in to comment.