moved generated gifs to a different place

This commit is contained in:
davidovski 2021-10-31 00:55:35 +01:00
parent 3a396753ef
commit acd5c8e9bd
7 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,6 @@
#!/bin/sh
python gif.py
python build.py
python gif.py
./sync.sh

View file

@ -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

4
gif.py
View file

@ -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")

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 KiB

View file

@ -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

View file

@ -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>