diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-08-17 23:56:23 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-08-17 23:56:23 -0400 |
commit | 070fe05423adc3a9b61d06801bf24b14af86a82b (patch) | |
tree | 6184dec3e10af558b831013d1e8de95091ff58b4 /.drone.yml | |
parent | 73df60d33218ecd85442fb20fd0c9acaf7879ab0 (diff) | |
download | thedroneely.com-070fe05423adc3a9b61d06801bf24b14af86a82b.tar.gz thedroneely.com-070fe05423adc3a9b61d06801bf24b14af86a82b.tar.bz2 thedroneely.com-070fe05423adc3a9b61d06801bf24b14af86a82b.zip |
.drone.yml: Set image timestamps 48 hours back
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -122,7 +122,7 @@ steps: - name: openring image: debian:stretch-slim commands: - + - apt-get update - apt-get install -y wget - wget https://yukari.sr.ht/openring @@ -193,7 +193,7 @@ steps: cd $NAME-$DATE/generators/hugo && hugo && cd /srv/deploys/$NAME && - + chattr -i -Rf "$(ls -t | awk "NR>8")" || true && rm -rf "$(ls -t | awk "NR>8")" && @@ -204,5 +204,7 @@ steps: chattr +i $NAME-$DATE/generators/hugo/content/posts/archive.md && chattr +i $NAME-$DATE/generators/hugo/content/projects/archive.md && + find $NAME-$DATE/public/images -type f -exec touch -d "2 days ago" {} + && + ls -la ' |