Skip to content

Commit ce14460

Browse files
committed
update workflows
1 parent e1c4a03 commit ce14460

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,7 @@ jobs:
5353
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
5454
HUGO_ENVIRONMENT: production
5555
run: |
56-
hugo \
57-
--minify \
58-
--baseURL "${{ steps.pages.outputs.base_url }}/"
56+
make build
5957
- name: Upload artifact
6058
uses: actions/upload-pages-artifact@v3
6159
with:

makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
build:
2+
hugo --minify
3+
4+
clean:
5+
rm -r public
6+
7+
run:
8+
hugo server --disableFastRender -D

0 commit comments

Comments
 (0)