Update mtime of static files at deploy time (#6)

This commit is contained in:
andor0 2020-12-15 15:58:54 +04:00 committed by iko
parent 47495459e3
commit 50c4614ded
2 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,10 @@ spec:
command:
- sh
- -c
- 'cp -a /www/* /copy/'
- |
set -ex
cp -a /www/* /copy/
find /www -type f -exec touch {} +
volumeMounts:
- name: www
mountPath: /copy

View File

@ -29,6 +29,7 @@ with {
gnugrep
cacert'
shadow
findutils
];
runAsRoot = ''