From 4cf8f7779f572f7b88043a366b506dc265a5c4f5 Mon Sep 17 00:00:00 2001 From: Gabriel Cerdio Date: Thu, 5 Dec 2024 10:03:26 -0600 Subject: [PATCH] Update deployment path in .cpanel.yml for production; streamline file copy commands to ensure correct asset deployment. --- .cpanel.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.cpanel.yml b/.cpanel.yml index 9ac391ab9..0bbbb1a08 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -1,12 +1,8 @@ --- deployment: tasks: - # 1. Define el directorio de despliegue - - export DEPLOYPATH=/home1/annygabr/repositories/wedding-website - - # 2. Copia solo los archivos necesarios para producción - - /bin/cp -R css $DEPLOYPATH - - /bin/cp -R js $DEPLOYPATH - - /bin/cp -R images $DEPLOYPATH - - /bin/cp index.html $DEPLOYPATH - - /bin/cp favicon.ico $DEPLOYPATH + - export DEPLOYPATH=/home1/annygabr/public_html/wedding-website + - /bin/cp -R js $DEPLOYPATH/ + - /bin/cp -R images $DEPLOYPATH/ + - /bin/cp index.html $DEPLOYPATH/ + - /bin/cp favicon.ico $DEPLOYPATH/