Skip to content

Commit 1935905

Browse files
authored
Update deploy.yml
1 parent 9f64a3e commit 1935905

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
extended: true # SCSS/SASSをビルドするテーマの場合はtrueにしないとエラーになる
2323

2424
- name: Build Hugo site
25-
run: hugo --minify
25+
run: |
26+
sed -i "s/\$GOOGLE_ANALYTICS_ID/${GOOGLE_ANALYTICS_ID}/g" hugo.toml
27+
hugo --minify
2628
env:
2729
GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}
2830

0 commit comments

Comments
 (0)