12 lines
359 B
Bash
Executable File
12 lines
359 B
Bash
Executable File
#!/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."
|