@korodrogerie/rsync-deployment
v1.4.2
Published
Deployment script for CWC using rsync
Downloads
6
Readme
Rsync Deployment script
Usage
The CLI script is meant to be run using npx
:
npx @korodrogerie/rsync-deployment .
The script is taking one option which is the path which should be deployed.
Additionally you can enable debugging output of the script using the flag -vvv
similar to Symfony's console application.
npx @korodrogerie/rsync-deployment . -vvv
Additionally to the debug parameter -vvv
you can enable debug output using the env variable DEBUG=*
too. It uses the NPM package debug which gives you additional output.
Further information
The script is doing two things. It uses rsync to sync the latest changes files to the different app nodes. Additionally it clears the cache of the app node after the sync is done.
To clear the cache we're renaming the cache
directory first, delete it and create a new cache
directory.
License
Licensed under MIT
Copyright (c) 2020-present Koro Handels GmbH