mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 18:36:22 +00:00
unificar ota de js
This commit is contained in:
parent
30398a8982
commit
1e0642c45b
1 changed files with 1 additions and 4 deletions
5
Makefile
5
Makefile
|
@ -110,12 +110,9 @@ save: ## Subir la imagen Docker al nodo delegado
|
||||||
date +%F | xargs -I {} git tag -f $(container)-{}
|
date +%F | xargs -I {} git tag -f $(container)-{}
|
||||||
@echo -e "\a"
|
@echo -e "\a"
|
||||||
|
|
||||||
ota-js: assets ## Actualizar Javascript en el nodo delegado
|
|
||||||
rsync -avi --delete-after --chown 1000:82 public/ root@$(delegate):/srv/sutty/srv/http/data/_$(public)/
|
|
||||||
ssh root@$(delegate) docker exec $(container) sh -c "cat /srv/http/tmp/puma.pid | xargs -r kill -USR2"
|
|
||||||
|
|
||||||
ota: ## Actualizar Rails en el nodo delegado
|
ota: ## Actualizar Rails en el nodo delegado
|
||||||
ssh $(delegate) git -C /srv/sutty/srv/http/panel.sutty.nl pull ; true
|
ssh $(delegate) git -C /srv/sutty/srv/http/panel.sutty.nl pull ; true
|
||||||
|
ssh $(delegate) git -C /srv/sutty/srv/http/panel.sutty.nl lfs prune
|
||||||
ssh $(delegate) chown -R 1000:82 /srv/sutty/srv/http/panel.sutty.nl
|
ssh $(delegate) chown -R 1000:82 /srv/sutty/srv/http/panel.sutty.nl
|
||||||
ssh $(delegate) docker exec $(container) rails reload
|
ssh $(delegate) docker exec $(container) rails reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue