mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 13:31:42 +00:00
commitear automáticamente los assets
This commit is contained in:
parent
30ddcca4a8
commit
80f135d495
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -49,6 +49,7 @@ help: always ## Ayuda
|
|||
@grep -E "^[a-z\-]+ \?=.*##" Makefile | sed -re "s/(.*) \?=.*##(.*)/\1;\2/" | column -s ";" -t | sed -re "s/^([^ ]+) /\x1B[38;5;197m\1\x1B[0m/"
|
||||
|
||||
assets: public/packs/manifest.json.br ## Compilar los assets
|
||||
git add public && git commit -m "assets [skip ci]"
|
||||
|
||||
test: always ## Ejecutar los tests
|
||||
$(MAKE) rake args="test RAILS_ENV=test $(args)"
|
||||
|
@ -112,7 +113,7 @@ save: ## Subir la imagen Docker al nodo delegado
|
|||
|
||||
ota: ## Actualizar Rails en el nodo delegado
|
||||
git push
|
||||
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
|
||||
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) docker exec $(container) rails reload
|
||||
|
|
Loading…
Reference in a new issue