mirror of
https://git.davidovski.xyz/davidovski.git
synced 2024-08-15 00:43:29 +00:00
separated syncing and building
This commit is contained in:
parent
712dc5f7b8
commit
49e65867ee
3 changed files with 15 additions and 6 deletions
8
build.py
8
build.py
|
@ -271,11 +271,13 @@ def create_repos():
|
||||||
|
|
||||||
for repo in get_repos():
|
for repo in get_repos():
|
||||||
print(repo)
|
print(repo)
|
||||||
|
|
||||||
os.system(f"cd {dist}/git; git clone {repo}")
|
|
||||||
|
|
||||||
name = ".".join(repo.split("/")[-1].split(".")[:-1])
|
name = ".".join(repo.split("/")[-1].split(".")[:-1])
|
||||||
|
|
||||||
|
os.system(f"mkdir -p {dist}/git/{name} ;\
|
||||||
|
cd {dist}/git/{name} ;\
|
||||||
|
git pull || git clone {name}")
|
||||||
|
|
||||||
|
|
||||||
command = subprocess.run(f"cd {dist}/git/{name} && git log --pretty=format:'%h%x09%an%x09%ad%x09%s' --no-decorate -1", stdout=subprocess.PIPE, shell=True)
|
command = subprocess.run(f"cd {dist}/git/{name} && git log --pretty=format:'%h%x09%an%x09%ad%x09%s' --no-decorate -1", stdout=subprocess.PIPE, shell=True)
|
||||||
|
|
||||||
commit = command.stdout.decode()
|
commit = command.stdout.decode()
|
||||||
|
|
1
build.sh
1
build.sh
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
python build.py
|
python build.py
|
||||||
python gif.py
|
python gif.py
|
||||||
./sync.sh
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@ body {
|
||||||
background-image: url("/images/bg.gif");
|
background-image: url("/images/bg.gif");
|
||||||
background-repeat: repeat;
|
background-repeat: repeat;
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
image-rendering: pixelated;
|
||||||
|
image-rendering: optimizeSpeed;
|
||||||
|
|
||||||
|
|
||||||
/*background-image: url("https://davidovski.xyz/images/bg.png");*/
|
/*background-image: url("https://davidovski.xyz/images/bg.png");*/
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
|
@ -33,6 +36,11 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
image-rendering: pixelated;
|
||||||
|
image-rendering: optimizeSpeed;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--blue);
|
color: var(--blue);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -131,12 +139,12 @@ pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
.about {
|
.about {
|
||||||
width: 75%;
|
width: 65%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.image {
|
.image {
|
||||||
width: 25%;
|
width: 35%;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue