automate CSS/JS cache busting

This commit is contained in:
Daniel Micay
2021-03-26 21:03:34 -04:00
parent f5f23e2a95
commit 342a31c06c
23 changed files with 47 additions and 30 deletions

View File

@@ -25,5 +25,9 @@ ssh $remote sync -f $target
ssh $remote ln -snf $target /var/www/html
ssh $remote sync .
rsync -rpcv --chmod=D755,F644 --delete nginx.conf.tmp $remote:/etc/nginx/nginx.conf
ssh $remote sync -f /etc/nginx/nginx.conf
ssh $remote systemctl reload nginx
echo
echo active is now $target