commit 22156b2a1aa4bfc1ac7851fd0e7db794284aea89
parent 77cb2f90829ed75024c2591a4b13e758431a7c5e
Author: oscarbenedito <oscar@obenedito.org>
Date: Sun, 1 Mar 2020 16:04:35 +0100
New domain
Diffstat:
3 files changed, 3 insertions(+), 18 deletions(-)
diff --git a/dot_scripts/executable_deploy-website.sh b/dot_scripts/executable_deploy-website.sh
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-HUGO_PATH="$HOME/Git/obenedito.org"
-TEMP_DIR="$HOME/.tmp-webdav"
-MOUNT_PATH="/media/obenedito"
-WEBDAV_FOLDER="html-obenedito.org"
-
-rm -rf "$HUGO_PATH/public"
-hugo -s "$HUGO_PATH" --minify
-mount "$MOUNT_PATH"
-mkdir "$TEMP_DIR"
-rsync -ruvc --progress --delete --temp-dir="$TEMP_DIR $HUGO_PATH/public/" \
- "$MOUNT_PATH/$WEBDAV_FOLDER"
-rmdir "$TEMP_DIR"
-umount "$MOUNT_PATH"
diff --git a/dot_scripts/executable_tmux-website.sh b/dot_scripts/executable_tmux-website.sh
@@ -7,12 +7,12 @@ tmux -2 new-session -d -s "$SESSION"
# New window called Hugo running 'hugo server' in website folder
tmux new-window -t "$SESSION:1" -n 'hugo'
-tmux send-keys "cd ~/Git/obenedito.org" C-m
+tmux send-keys "cd ~/Git/oscarbenedito.com" C-m
tmux send-keys "hugo server" C-m
# Back to window #0, open file with atom, run local server and open it on firefox
tmux select-window -t "$SESSION:0"
-tmux send-keys "cd ~/Git/obenedito.org" C-m
+tmux send-keys "cd ~/Git/oscarbenedito.com" C-m
tmux send-keys "atom . &" C-m
tmux send-keys "firefox http://localhost:1313/ &" C-m
diff --git a/private_dot_ssh/config b/private_dot_ssh/config
@@ -1,5 +1,5 @@
Host blue
- HostName obenedito.org
+ HostName oscarbenedito.com
User root
Host cims