Skip to content
/ deploy Public

Simple script to synchronize projects on the remote server.

License

Notifications You must be signed in to change notification settings

onza/deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bash shell script to sync local project to a remote server

How to use

Place the deploy.sh file in the local project directory and adjust 'username', 'remote_path' and 'local_path'. Add files/directories to 'excludestr' that should not be mounted on the remote server.

Run sh deploy.sh.

‼️ Be careful with the path to the remote server

The script syncs the local project with --delete --force and deletes any inconsistent files and directories on the remote server. If you only want to deploy the changes then delete --delete --force from the script.

Dependency

'rsync' must be installed on the remote server.

Releases

No releases published

Packages

No packages published

Languages