diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-12-26 19:44:49 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-12-26 19:44:49 -0500 |
commit | 0c9334bacf14748f62a416390307a483a520abe9 (patch) | |
tree | 2bb25408778d8ce4e78ff7395c221aac4c643c99 /.drone.yml | |
parent | 00e758ec48e4aeea7fbd109477304cb709ad1688 (diff) | |
download | thedroneely.com-0c9334bacf14748f62a416390307a483a520abe9.tar.gz thedroneely.com-0c9334bacf14748f62a416390307a483a520abe9.tar.bz2 thedroneely.com-0c9334bacf14748f62a416390307a483a520abe9.zip |
.drone.yml: Update timestamps on images after origin sync
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -123,6 +123,10 @@ steps: scp -r -o StrictHostKeyChecking=no -P $ORIGIN_PORT -vT -i ssh-key images/* $ORIGIN_USER@$ORIGIN_HOST:/srv/http/staging/thedroneely.com/public/images +- > + ssh -o StrictHostKeyChecking=no -p $ORIGIN_PORT -vT -i ssh-key $ORIGIN_USER@$ORIGIN_HOST + 'find /srv/http/staging/thedroneely.com/public/images -type f -exec touch -d "2 days ago" {} +' + - > scp -r -o StrictHostKeyChecking=no -P $ORIGIN_PORT -vT -i ssh-key videos/* $ORIGIN_USER@$ORIGIN_HOST:/srv/http/staging/thedroneely.com/public/videos |