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 9fe6432
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 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,11 @@ jobs:
hugo \
--gc \
--minify \
--environment "${HUGO_ENVIRONMENT}"
--environment "${HUGO_ENVIRONMENT}" \
--verbose
echo "${{ steps.pages.outputs.base_url }}/"
echo "${{ env.HUGO_ENVIRONMENT }}"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand All @@ -74,4 +78,7 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v2

- name: print
run: echo ${{ steps.deployment.outputs.page_url }}

0 comments on commit 9fe6432

Please sign in to comment.