Skip to content

Commit e8bc8d7

Browse files
committed
ci: move into directory to target static files
1 parent c8093ae commit e8bc8d7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,10 @@ jobs:
6565
run: git config core.quotepath false
6666
- name: Build with Hugo
6767
run: |
68+
cd exampleSite && \
6869
hugo \
6970
--gc \
7071
--minify \
71-
--source ./exampleSite \
72-
--themesDir ../.. \
7372
--baseURL "${{ steps.pages.outputs.base_url }}/" \
7473
--cacheDir "${{ runner.temp }}/hugo_cache"
7574
- name: Cache Save

exampleSite/hugo.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ disableKinds: [section, taxonomy, term, RSS, sitemap, 404]
33
enableRobotsTXT: true
44

55
title: Online Resume
6-
theme: ../..
76

87
markup/goldmark/renderer/unsafe: false # there is probably a way to do what you want that is hugo compliant
98

0 commit comments

Comments
 (0)