From dc3bd668d51831c2fb6a519950f842f04b0a1622 Mon Sep 17 00:00:00 2001 From: Gabriel Cerdio <112841951+yomero243@users.noreply.github.com> Date: Wed, 4 Dec 2024 00:22:57 -0600 Subject: [PATCH] Update .cpanel.yml deployopath --- .cpanel.yml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.cpanel.yml b/.cpanel.yml index bba62f58fb..de9eaf4987 100644 --- a/.cpanel.yml +++ b/.cpanel.yml @@ -1,21 +1,8 @@ +Deploy an entire directory +The following .cpanel.yml file copies the images directory and all of its contents to the example account’s public_html directory: + +--- deployment: tasks: - - export DEPLOYPATH=/home/annygabr/repositories/wedding-website/ - - /bin/cp -R css $DEPLOYPATH - - /bin/cp -R js $DEPLOYPATH - - /bin/cp -R img $DEPLOYPATH - - /bin/cp -R sass $DEPLOYPATH - - /bin/cp -R .github $DEPLOYPATH - - /bin/cp -R .idx $DEPLOYPATH - - /bin/cp index.html $DEPLOYPATH - - /bin/cp manifest.json $DEPLOYPATH - - /bin/cp site.webmanifest $DEPLOYPATH - - /bin/cp browserconfig.xml $DEPLOYPATH - - /bin/cp .nojekyll $DEPLOYPATH - - /bin/cp CNAME $DEPLOYPATH - - /bin/cp gulpfile.js $DEPLOYPATH - - /bin/cp package.json $DEPLOYPATH - - /bin/cp README.md $DEPLOYPATH - - /bin/cp -R node_modules/animate.css $DEPLOYPATH/node_modules/ - - /bin/cp -R node_modules/font-awesome $DEPLOYPATH/node_modules/ - - /bin/cp -R node_modules/waypoints $DEPLOYPATH/node_modules/ \ No newline at end of file + - export DEPLOYPATH=/home/repositories/wedding-website + - /bin/cp -R images $DEPLOYPATH