drop backup step
why do we need backups? the site is built directly from git commits
This commit is contained in:
parent
af9a8aedb3
commit
5d0a8731e5
@ -63,10 +63,6 @@ steps:
|
||||
- delete_current_files="sudo -n rm -r $host_dir"
|
||||
- deploy_new_files="sudo -n mv $${HOST} $host_dir"
|
||||
|
||||
# archive old site
|
||||
- ssh $host $make_backup_dir
|
||||
- ssh $host $copy_backup_files
|
||||
|
||||
# deploy new site
|
||||
- rsync -rP site/* "$host:$${HOST}"
|
||||
- ssh $host $delete_current_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user