diff options
author | Thedro Neely <thedroneely@gmail.com> | 2019-07-24 03:01:08 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2019-07-24 03:01:08 -0400 |
commit | ad8046e6323f31442615c85b2de5e5787ec7126e (patch) | |
tree | d0de830f31f531e618e66ec67cbe22e0bd327bdd /.drone.yml | |
parent | 6749d62d287a55bd1b59c29eaef208a631234bdb (diff) | |
download | thedroneely.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.yml | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 ' |