Add .cpanel.yml for automatic code deployment to cPanel server

This commit is contained in:
Leonard Smith 2021-04-07 12:57:33 -05:00
parent eac57f9dec
commit 2b5501e85d
1 changed files with 8 additions and 0 deletions

8
.cpanel.yml Normal file
View File

@ -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