aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-07-24 03:01:08 -0400
committerThedro Neely <thedroneely@gmail.com>2019-07-24 03:01:08 -0400
commitad8046e6323f31442615c85b2de5e5787ec7126e (patch)
treed0de830f31f531e618e66ec67cbe22e0bd327bdd /.drone.yml
parent6749d62d287a55bd1b59c29eaef208a631234bdb (diff)
downloadthedroneely.com-ad8046e6323f31442615c85b2de5e5787ec7126e.tar.gz
thedroneely.com-ad8046e6323f31442615c85b2de5e5787ec7126e.tar.bz2
thedroneely.com-ad8046e6323f31442615c85b2de5e5787ec7126e.zip
.drone.yml: Make archive markdown files immutable after ownership change
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 09a1fef..46425ea 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -178,6 +178,10 @@ steps:
ln -s $NAME-$DATE $NAME-deploy-$DATE &&
mv -Tf $NAME-deploy-$DATE $NAME-deploy &&
+
chown nginx:nginx -R $NAME-deploy $NAME-$DATE &&
+ chattr +i $NAME-$DATE/generators/hugo/content/posts/archive.md &&
+ chattr +i $NAME-$DATE/generators/hugo/content/projects/archive.md &&
+
ls -la
'