Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoGoCarto
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pixel Humain
GoGoCarto
Commits
4e68680c
Commit
4e68680c
authored
3 years ago
by
Sebastian Castro
Browse files
Options
Downloads
Patches
Plain Diff
Makefile: change remote url
parent
6ca9bd73
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+6
-0
6 additions, 0 deletions
Makefile
with
6 additions
and
0 deletions
Makefile
+
6
−
0
View file @
4e68680c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment