Skip to content

Commit 8e78f8d

Browse files
committed
Use the Makefile in CI when publishing site
1 parent 0c793c2 commit 8e78f8d

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,9 @@ jobs:
1515
with:
1616
submodules: true
1717
- name: Setup Hugo
18-
uses: peaceiris/actions-hugo@v2
19-
with:
20-
hugo-version: 'latest'
21-
extended: true
22-
- name: cache
23-
uses: actions/cache@v2
24-
with:
25-
path: /tmp/hugo_cache
26-
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
27-
restore-keys: |
28-
${{ runner.os }}-hugomod-
18+
run: make setup
2919
- name: Build website with Hugo
30-
run: hugo --minify
20+
run: make build
3121
- name: Deploy website with rsync
3222
uses: burnett01/rsync-deployments@5.2.1
3323
with:

0 commit comments

Comments
 (0)