@korodrogerie/rsync-deployment

1.4.2 • Public • Published

Rsync Deployment script

npm node-current (scoped) License: MIT

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

Readme

Keywords

Package Sidebar

Install

npm i @korodrogerie/rsync-deployment

Weekly Downloads

0

Version

1.4.2

License

MIT

Unpacked Size

13.2 kB

Total Files

7

Last publish

Collaborators

  • klarstil