mirror of
https://git.davidovski.xyz/davidovski.git
synced 2024-08-15 00:43:29 +00:00
moved generated gifs to a different place
This commit is contained in:
parent
3a396753ef
commit
acd5c8e9bd
7 changed files with 7 additions and 6 deletions
3
build.sh
3
build.sh
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
python gif.py
|
||||
python build.py
|
||||
python gif.py
|
||||
./sync.sh
|
||||
|
||||
|
||||
|
|
2
const.py
2
const.py
|
@ -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
4
gif.py
|
@ -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")
|
||||
|
||||
|
||||
|
|
BIN
images/bg.gif
BIN
images/bg.gif
Binary file not shown.
Before Width: | Height: | Size: 229 KiB |
Binary file not shown.
Before Width: | Height: | Size: 303 KiB |
2
sync.sh
2
sync.sh
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue