Skip to content

Commit 438413f

Browse files
authored
Merge pull request #38 from kthcloud/harsha5500-patch-3
Update hugo.yml
2 parents c931188 + 15fd996 commit 438413f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/hugo.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
build:
3232
runs-on: ubuntu-latest
3333
env:
34-
HUGO_VERSION: 0.128.0
34+
HUGO_VERSION: 0.319.4
3535
steps:
3636
- name: Install Hugo CLI
3737
run: |
@@ -52,14 +52,15 @@ jobs:
5252
env:
5353
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5454
HUGO_ENVIRONMENT: production
55+
HUGO_ENV: production
5556
run: |
5657
hugo \
57-
--minify \
58-
--baseURL "${{ steps.pages.outputs.base_url }}/"
58+
--minify
59+
# --baseURL "${{ steps.pages.outputs.base_url }}/"
5960
- name: Upload artifact
6061
uses: actions/upload-pages-artifact@v3
6162
with:
62-
path: ./public
63+
path: ./hugo/public
6364

6465
# Deployment job
6566
deploy:

0 commit comments

Comments
 (0)