From 2b5501e85d4980727160fd327d0b4e2065c1a1b4 Mon Sep 17 00:00:00 2001 From: Leonard Smith Date: Wed, 7 Apr 2021 12:57:33 -0500 Subject: [PATCH] Add .cpanel.yml for automatic code deployment to cPanel server --- .cpanel.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .cpanel.yml diff --git a/.cpanel.yml b/.cpanel.yml new file mode 100644 index 0000000..5b071e8 --- /dev/null +++ b/.cpanel.yml @@ -0,0 +1,8 @@ +--- +deployment: + tasks: + - export DEPLOYPATH=/home/onlin401/public_html/allgreektome/frontend/ + - /bin/cp dist/.htaccess $DEPLOYPATH + - /bin/cp dist/index.html $DEPLOYPATH + - /bin/cp dist/robots.txt $DEPLOYPATH + - /bin/cp -R dist/assets $DEPLOYPATH