diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-19 09:41:39 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-19 09:41:39 +0300 |
| commit | 2611b42c5d2f4302592b3f7957830e2966b0a524 (patch) | |
| tree | 205cdf952def183c9221f2d28504c148e43ca4dc /_includes | |
| parent | 11f9a234bec76d8fbc564fff0e90ba519a7c66f9 (diff) | |
| download | aaoth.xyz-2611b42c5d2f4302592b3f7957830e2966b0a524.tar.gz aaoth.xyz-2611b42c5d2f4302592b3f7957830e2966b0a524.zip | |
fix thumbnail generation on every push
post-receive git hook is also tweaked. since thumbnails aren't needed on
site build time, they can be created after by copying `thumbs.sh` script
into site art directory, running it and deleting afterwards.
`hooks/post-receive`
```
{
cp "$TMP_GIT_CLONE/art/thumbs.sh" "$PUBLIC_WWW/art/thumbs.sh"
cd "$PUBLIC_WWW/art"
sh thumbs.sh
rm thumbs.sh
}
```
Diffstat (limited to '_includes')
0 files changed, 0 insertions, 0 deletions
