Skip to content

Commit

Permalink
Update deployment path in .cpanel.yml for production; streamline file…
Browse files Browse the repository at this point in the history
… copy commands to ensure correct asset deployment.
  • Loading branch information
yomero243 committed Dec 5, 2024
1 parent 5687380 commit 4cf8f77
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .cpanel.yml
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit 4cf8f77

Please sign in to comment.