aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-11-27 17:22:17 -0500
committerThedro Neely <thedroneely@gmail.com>2019-11-27 17:22:17 -0500
commit78e7bcc880bd777b00a4a56de102b2f5112a8d51 (patch)
treec5a4e1ab7825c04eeef27bd17a3e541ff61a0d59 /.drone.yml
parent19198a7124c993ab1472be830f60891222f838d5 (diff)
downloadthedroneely.com-78e7bcc880bd777b00a4a56de102b2f5112a8d51.tar.gz
thedroneely.com-78e7bcc880bd777b00a4a56de102b2f5112a8d51.tar.bz2
thedroneely.com-78e7bcc880bd777b00a4a56de102b2f5112a8d51.zip
.drone.yml: Use copy at this point in deployment
Avoid permission issues
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 2a89b55..8ce9b15 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -85,7 +85,7 @@ steps:
cd /srv/http/staging/thedroneely.com/cockpit/storage/data/ &&
cmp --silent collections.sqlite collections.sqlite.new ||
{
- cp collections.sqlite collections.sqlite-$(date +%H%M-%d%m-%Y) && mv collections.sqlite.new collections.sqlite &&
+ cp collections.sqlite collections.sqlite-$(date +%H%M-%d%m-%Y) && cp collections.sqlite.new collections.sqlite &&
touch collections.sqlite;
}
'