tDeploy only EN page to fastmail - andersdamsgaard.com - my photography webpage | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 6f9e3dd5f6767be043bcb034dd2f7f296283d92d | |
parent e6f73b503ef71f871bdf5c6aa16000028457b0bf | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 5 Nov 2018 06:18:06 +0100 | |
Deploy only EN page to fastmail | |
Diffstat: | |
M Makefile | 4 ++-- | |
M config.toml | 4 ++-- | |
2 files changed, 4 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -26,7 +26,7 @@ deploy-staging: | |
# upload to fastmail | |
@lftp -c "set ftp:list-options -a; \ | |
open ftp://[email protected]:$(FASTMAILKEY)@ftp.fastmail.com; \ | |
- lcd ./public; \ | |
+ lcd ./public/en; \ | |
cd /anders.adamsgaard.dk/files/staging.$(DOMAIN); \ | |
mirror --reverse --delete --use-cache --verbose --parallel=2 -p" | |
t@@ -44,6 +44,6 @@ deploy: | |
# upload to fastmail | |
@lftp -c "set ftp:list-options -a; \ | |
open ftp://[email protected]:$(FASTMAILKEY)@ftp.fastmail.com; \ | |
- lcd ./public; \ | |
+ lcd ./public/en; \ | |
cd /anders.adamsgaard.dk/files/$(DOMAIN); \ | |
mirror --reverse --delete --use-cache --verbose --parallel=2 -p" | |
diff --git a/config.toml b/config.toml | |
t@@ -6,12 +6,12 @@ defaultContentLanguage = "en" | |
[languages] | |
[languages.en] | |
- baseURL = "https://andersdamsgaard.com/" | |
+ #baseURL = "https://andersdamsgaard.com/" | |
title = "Anders Damsgaard" | |
languageName = "English" | |
languageCode = "en" | |
[languages.da] | |
- baseURL = "https://andersdamsgaard.dk/" | |
+ #baseURL = "https://andersdamsgaard.dk/" | |
title = "Anders Damsgaard" | |
languageCode = "da" | |
languageName = "Dansk" |