diff options
author | Volpeon <git@volpeon.ink> | 2020-12-30 12:20:11 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-30 12:20:11 +0100 |
commit | eea505cd68c9178388c6cc04f42aaac84fe02610 (patch) | |
tree | 65d23b8151bafe08d44d707fc8b7d90c04cf0e1f /scripts | |
parent | More generic font compression script (diff) | |
download | volpeon.ink-eea505cd68c9178388c6cc04f42aaac84fe02610.tar.gz volpeon.ink-eea505cd68c9178388c6cc04f42aaac84fe02610.tar.bz2 volpeon.ink-eea505cd68c9178388c6cc04f42aaac84fe02610.zip |
Configurable deploy target
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/deploy.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..129ddda --- /dev/null +++ b/scripts/deploy.sh | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | source "site.defaults.conf" | ||
4 | |||
5 | if [ -f "site.conf" ]; then | ||
6 | source "site.conf" | ||
7 | fi | ||
8 | |||
9 | echo -e "\033[0;32m[DEPLOY ]\033[0m $DEPLOY_TARGET" | ||
10 | rsync --progress --stats -avz --delete "$OUTPUT_DIR" "$DEPLOY_TARGET" | ||