Skip to content

Commit 31318eb

Browse files
Merge pull request #7 from michaeltlombardi/maint/main/fix-ghp-deployment
(MAINT) Fix GitHub Pages deployment
2 parents 5652129 + df8867b commit 31318eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.site.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ jobs:
2525
with:
2626
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2727
- name: Setup Pages
28+
id: pages
2829
uses: actions/configure-pages@v3
2930
- name: Setup Hugo
31+
id: hugo
3032
uses: peaceiris/actions-hugo@v2
3133
with:
3234
hugo-version: latest
@@ -65,7 +67,7 @@ jobs:
6567
HUGO_ENVIRONMENT: production
6668
HUGO_ENV: production
6769
run: |
68-
Invoke-Build -Task BuildSite -SiteBaseUrl https://powershell.github.io/DSC-Samples/
70+
Invoke-Build -Task BuildSite -SiteBaseUrl "${{ steps.pages.outputs.base_url }}/"
6971
- name: Upload artifact
7072
uses: actions/upload-pages-artifact@v2
7173
with:

0 commit comments

Comments
 (0)