limpieza-img
This commit is contained in:
11
deploy.sh
Executable file
11
deploy.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
# Despliega static/ en release/project-a13tv/
|
||||
SRC="$(dirname "$(realpath "$0")")/static"
|
||||
DST="$(dirname "$(realpath "$0")")/release/project-a13tv"
|
||||
|
||||
echo "Desplegando en $DST ..."
|
||||
|
||||
# --no-group --no-owner: no intenta cambiar propietario/grupo en destino
|
||||
rsync -rlt --no-group --no-owner --chmod=ug+rw "$SRC/" "$DST/"
|
||||
|
||||
echo "Despliegue completado."
|
||||
Reference in New Issue
Block a user