blob: d7873fe751b645a382eb83ca9162f6c8a5c86245 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
[tasks.build]
run = [
"rm -rf public/",
"hugo"
]
[tasks.stats]
depends = ["build"]
run = "python3 scripts/stats.py public/wordstats.json"
[tasks.deploy]
depends = ["build"]
run = 'rsync --rsync-path="sudo rsync" -avz --delete public/ ubuntu@feed.kagamino.dev:/var/www/kagamino_blog/'
[tasks.dev]
run = "hugo server -D"
[tasks.preprod]
run = [
"rm -rf public/",
"hugo -D -b http://localhost:8000/",
"python -m http.server -d public/"
]
|