tDo not chmod during ftp upload - andersdamsgaard.com - my photography webpage | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 9ae3431c6eb76f62676819a0dfb76728538bab82 | |
parent b3c5ceb81a744bc6443d0d1c602af0c33861fe6d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Fri, 2 Nov 2018 13:43:23 +0100 | |
Do not chmod during ftp upload | |
Diffstat: | |
M Makefile | 5 ++++- | |
1 file changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -4,6 +4,9 @@ DOMAIN=andersdamsgaard.com | |
local: | |
hugo server -D | |
+deploy-locally: | |
+ export FASTMAILKEY=`pass Online/fastmail-files-ftp-password` && make d… | |
+ | |
deploy: | |
# generate public/ | |
hugo | |
t@@ -16,4 +19,4 @@ deploy: | |
open ftp://[email protected]:$(FASTMAILKEY)@ftp.fastmail.com; \ | |
lcd ./public; \ | |
cd /anders.adamsgaard.dk/files/$(DOMAIN); \ | |
- mirror --reverse --delete --use-cache --verbose --parallel=2" | |
+ mirror --reverse --delete --use-cache --verbose --parallel=2 -p" |