tRemove fastmail files configuration - andersdamsgaard.com - my photography web… | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 0519c501bd50932b1d10ebe8018300ada453f0f6 | |
parent 46288604419b223fedad3812983a4abe6661d80c | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 18 Nov 2018 10:58:58 +0100 | |
Remove fastmail files configuration | |
Diffstat: | |
M Makefile | 28 ---------------------------- | |
1 file changed, 0 insertions(+), 28 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -10,16 +10,6 @@ deploy: deploy-fm | |
.PHONY: deploy-gitlab | |
deploy-gitlab: generate-public | |
-.PHONY: deploy-staging-locally | |
-deploy-staging-locally: | |
- export FASTMAILKEY=`pass Online/fastmail-files-ftp-password` \ | |
- && make deploy-staging | |
- | |
-.PHONY: deploy-locally | |
-deploy-locally: | |
- export FASTMAILKEY=`pass Online/fastmail-files-ftp-password` \ | |
- && make deploy | |
- | |
.PHONY: generate-public | |
generate-public: | |
# generate public/ and remove unprocessed images | |
t@@ -33,24 +23,6 @@ generate-public: | |
# report size of build | |
du -h public/ | |
-.PHONY: deploy-staging | |
-deploy-staging: generate-public | |
- # upload to fastmail | |
- @lftp -c "set ftp:list-options -a; \ | |
- open ftp://[email protected]:$(FASTMAILKEY)@ftp.fastmail.com; \ | |
- lcd ./public/en; \ | |
- cd /anders.adamsgaard.dk/files/staging.$(DOMAIN); \ | |
- mirror --reverse --delete --use-cache --verbose --parallel=2 -p" | |
- | |
-.PHONY: deploy-fm | |
-deploy-fm: generate-public | |
- # upload to fastmail | |
- @lftp -c "set ftp:list-options -a; \ | |
- open ftp://[email protected]:$(FASTMAILKEY)@ftp.fastmail.com; \ | |
- lcd ./public/en; \ | |
- cd /anders.adamsgaard.dk/files/$(DOMAIN); \ | |
- mirror --reverse --delete --use-cache --verbose --parallel=2 -p" | |
- | |
.PHONY: generate-letsencrypt-certificate | |
generate-letsencrypt-certificate: | |
sudo certbot certonly -a manual \ |