diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-11-27 17:22:17 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-11-27 17:22:17 -0500 |
commit | 78e7bcc880bd777b00a4a56de102b2f5112a8d51 (patch) | |
tree | c5a4e1ab7825c04eeef27bd17a3e541ff61a0d59 /.drone.yml | |
parent | 19198a7124c993ab1472be830f60891222f838d5 (diff) | |
download | thedroneely.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.yml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } ' |