From 4e68680cdf41694c004415b8b93f2e46e3b698fa Mon Sep 17 00:00:00 2001 From: Sebastian Castro <sebastian.castro@protonmail.com> Date: Sat, 15 May 2021 10:41:13 +0000 Subject: [PATCH] Makefile: change remote url --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index dc83f436c..bccf7cdb7 100755 --- a/Makefile +++ b/Makefile @@ -114,7 +114,12 @@ log-commands-error: tail -n 400 var/log/commands.log | grep -B 1 ERROR ## —— Deploy & Prod ——————— + +change-remote: ## Update the remote to new gitlab server url (migrated on May 2021) + git remote set-url origin https://gitlab.com/seballot/gogocarto.git + gogo-update: ## Update a PROD server to the lastest version of gogocarto + make change-remote sudo /usr/bin/systemctl stop cron $(GIT) reset --hard master $(GIT) pull origin master @@ -130,6 +135,7 @@ gogo-update: ## Update a PROD server to the lastest version of gogocarto sudo /usr/bin/systemctl start cron gogo-quick-update: + make change-remote sudo /usr/bin/systemctl stop cron $(GIT) reset --hard master $(GIT) pull origin master -- GitLab