diff options
author | davidovski <david@davidovski.xyz> | 2021-10-31 00:55:35 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-10-31 00:55:35 +0100 |
commit | 1a636fa9c073c99e519074e8f9ecc967fd0f16fc (patch) | |
tree | 9e614edb8d902eb96cf41df184a8c295757cdbf5 | |
parent | 86900ff45e05238f67cc14daef7fe76ded69385e (diff) |
moved generated gifs to a different place
-rwxr-xr-x | build.sh | 3 | ||||
-rw-r--r-- | const.py | 2 | ||||
-rw-r--r-- | gif.py | 4 | ||||
-rw-r--r-- | images/bg.gif | bin | 234212 -> 0 bytes | |||
-rw-r--r-- | images/remotecontrol.gif | bin | 309948 -> 0 bytes | |||
-rwxr-xr-x | sync.sh | 2 | ||||
-rw-r--r-- | templates/about.html | 2 |
7 files changed, 7 insertions, 6 deletions
@@ -1,5 +1,6 @@ #!/bin/sh -python gif.py python build.py +python gif.py ./sync.sh + @@ -4,5 +4,5 @@ date_format = "%a, %d %b %Y %H:%M:%S" source = "src" templates = "templates" resources = "resources" -dist = "html" +dist = "dist" summary_max = 10 @@ -58,7 +58,7 @@ def make(filename, inp=None): frames[0].save(filename, format="GIF", append_images=frames[1:], save_all=True, duration=100, loop=0) -make("images/bg.gif") -make("images/remotecontrol.gif", inp="images/remotecontrol.png") +make("dist/images/bg.gif") +make("dist/images/remotecontrol.gif", inp="images/remotecontrol.png") diff --git a/images/bg.gif b/images/bg.gif Binary files differdeleted file mode 100644 index 052c1ad..0000000 --- a/images/bg.gif +++ /dev/null diff --git a/images/remotecontrol.gif b/images/remotecontrol.gif Binary files differdeleted file mode 100644 index c7c8a81..0000000 --- a/images/remotecontrol.gif +++ /dev/null @@ -1,5 +1,5 @@ #!/bin/bash -rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./html/ cheetah:/srv/www/davidovski/html +rsync -Lta --no-perms --no-owner --no-group --delete --exclude=sync.sh -z -e ssh ./dist/ cheetah:/srv/www/davidovski/html ssh -t cheetah "ln -s /srv/shared/site/* /srv/www/davidovski/html/" # git push # push after everything to keep it all backed up diff --git a/templates/about.html b/templates/about.html index 8937865..24dff72 100644 --- a/templates/about.html +++ b/templates/about.html @@ -2,7 +2,7 @@ <div class="about"> <p>Hi, I'm david and this is my place on the net where I dump various files, write blogs and whatever I feel like.</p> - <p>Feel free to explore the above links, or scroll through below. This site is still under contruction... permanently. So expect it to look better (or worse) in the future.</p> + <p>Feel free to explore the above links, or scroll through below. This site is still under construction... permanently. So expect it to look better (or worse) in the future.</p> <p>if you want to contact me, you can message me on matrix <code>@davidovski:matrix.org</code> (i will make my own homeserver soon ok?) or discord <code>iksvo#6239</code>. I'll be also happy to reply to any emails, linked at the top of the page</p> </div> |