commit ae09920bff69d74a1efb6b9a60c6712c4c3197e5
parent 2b1a59bf0f94d6c5cc961ca655c32e07ff15ba82
Author: oscarbenedito <oscar@obenedito.org>
Date:   Sun,  1 Mar 2020 14:25:02 +0100

New domain

Diffstat:
Matenea-updates-notifications/atenea-updates-notifications.py | 2+-
Mscripts/deploy_website.sh | 6+++---
Mscripts/login-notify.sh | 2+-
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/atenea-updates-notifications/atenea-updates-notifications.py b/atenea-updates-notifications/atenea-updates-notifications.py @@ -22,7 +22,7 @@ import json import time -NOTIFICATION_DOMAIN = 'gotify.obenedito.org' +NOTIFICATION_DOMAIN = 'gotify.oscarbenedito.com' TIME_INTERVAL = 120 COURSE_IDS = { 55144: "EDOS", diff --git a/scripts/deploy_website.sh b/scripts/deploy_website.sh @@ -18,14 +18,14 @@ # Script to deploy a website built with Hugo. -HUGO_PATH="/srv/obenedito.org" +HUGO_PATH="/srv/oscarbenedito.com" -git -C /srv/obenedito.org pull +git -C $HUGO_PATH pull rm -rf $HUGO_PATH/public rm -rf $HUGO_PATH/resources hugo -s $HUGO_PATH --minify -DOMAIN=gotify.obenedito.org +DOMAIN=gotify.oscarbenedito.com API_TOKEN=<redacted> TITLE="Web update triggered" MESSAGE="Git hooks triggered an update of the website." diff --git a/scripts/login-notify.sh b/scripts/login-notify.sh @@ -18,7 +18,7 @@ # Script that notifies Gotify when someone logs in through SSH to a computer/server. -DOMAIN=gotify.obenedito.org +DOMAIN=gotify.oscarbenedito.com API_TOKEN=<redacted> if [ "$PAM_TYPE" != "close_session" ]; then