Skip to content

Commit

Permalink
Use build script
Browse files Browse the repository at this point in the history
  • Loading branch information
kevcenteno committed Oct 16, 2024
1 parent 892137d commit ba18d9a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ jobs:
run: sudo snap install dart-sass

- name: Build site
run: hugo
run: ./build.sh
env:
CF_PAGES_URL: /
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -eu

hugo --gc --minify -b "$CF_PAGES_URL"

0 comments on commit ba18d9a

Please sign in to comment.