# --- # deployment: # tasks: # - export DEPLOYPATH=/home/gestionespiaggia/api.fatturab2b.net/ # - export VENDORPATH=/home/gestionespiaggia/apidev.fatturab2b.net/vendor # - export ADMIN_NODE_FOLDER=/home/fatturab2bnet/apidev.fatturab2b.net/public/admin/node_modules # - /bin/rm -rf $DEPLOYPATH/application # - /bin/cp -R application $DEPLOYPATH # - /bin/rm -rf $DEPLOYPATH/emailtemplate # - /bin/cp -R emailtemplate $DEPLOYPATH # - /bin/rm -rf $DEPLOYPATH/languages # - /bin/cp -R languages $DEPLOYPATH # - /bin/rm -rf $DEPLOYPATH/library # - /bin/cp -R library $DEPLOYPATH # - /bin/rm -rf $DEPLOYPATH/public # - /bin/cp -R public $DEPLOYPATH # - /bin/rm -rf $DEPLOYPATH/rsa # - /bin/cp -R rsa $DEPLOYPATH # - /bin/rm $DEPLOYPATH/index.php # - /bin/cp index.php $DEPLOYPATH # - /bin/rm $DEPLOYPATH/robots.txt # - /bin/cp robots.txt $DEPLOYPATH # - /bin/rm -rf $DEPLOYPATH/vendor # - /bin/cp -R $VENDORPATH $DEPLOYPATH # - /bin/cp -R $ADMIN_NODE_FOLDER $DEPLOYPATH/public/admin