diff --git a/Caddyfile b/Caddyfile index 898717d..e74836c 100644 --- a/Caddyfile +++ b/Caddyfile @@ -73,3 +73,17 @@ https://git.msfjarvis.website { import proxy_config } } + +https://staging.msfjarvis.website { + import base_config + import compression_config + root /var/www/msfjarvis.website.staging/ + git { + repo https://github.com/msfjarvis/msfjarvis.website + branch src + path ../site_raw_staging + hook /githook {$WEBHOOK_PASSWORD} + then git submodule update --init --recursive + then hugo --destination=/var/www/msfjarvis.website.staging --minify -DEFb=https://staging.msfjarvis.website + } +}