disable SSG

This commit is contained in:
Jonas Kruckenberg 2022-11-01 17:40:36 +01:00
parent a9b851b71a
commit c96b4590fb

View file

@ -9,8 +9,8 @@ address = "127.0.0.1"
port = 1420 port = 1420
open = false open = false
[[hooks]] # [[hooks]]
# Runs SSG on production builds # # Runs SSG on production builds
stage = "post_build" # stage = "post_build"
command = "bash" # command = "bash"
command_arguments = ["-c", "if [[ $TRUNK_PROFILE == \"release\" ]]; then cargo run --release --features ssg -- $TRUNK_STAGING_DIR; fi"] # command_arguments = ["-c", "if [[ $TRUNK_PROFILE == \"release\" ]]; then cargo run --release --features ssg -- $TRUNK_STAGING_DIR; fi"]