Caddyfile: Remove submodule init

My site doesn't have one anymore

Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
Harsh Shandilya 2019-09-22 22:47:13 +05:30
parent aef8338ca6
commit 4b6238749a
No known key found for this signature in database
GPG key ID: C2E74282C2133D62

View file

@ -35,7 +35,6 @@ https://msfjarvis.website {
branch src branch src
path ../site_raw path ../site_raw
hook /githook {$WEBHOOK_PASSWORD} hook /githook {$WEBHOOK_PASSWORD}
then git submodule update --init --recursive
then hugo --destination=/var/www/msfjarvis.website --minify then hugo --destination=/var/www/msfjarvis.website --minify
} }
} }
@ -83,7 +82,6 @@ https://staging.msfjarvis.website {
branch src branch src
path ../site_raw_staging path ../site_raw_staging
hook /githook {$WEBHOOK_PASSWORD} hook /githook {$WEBHOOK_PASSWORD}
then git submodule update --init --recursive
then hugo --destination=/var/www/msfjarvis.website.staging --minify -DEFb=https://staging.msfjarvis.website then hugo --destination=/var/www/msfjarvis.website.staging --minify -DEFb=https://staging.msfjarvis.website
} }
} }