mirror of
https://git.ari.lt/ari.lt/blog.ari.lt.git
synced 2025-02-04 09:39:25 +01:00
update @ Fri Oct 6 20:53:06 EEST 2023
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
parent
a59b02b6e9
commit
b07eef5abd
4 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
[build]
|
||||
command = "rustup toolchain install stable && NOCLR=1 python3 ./scripts/blog.py static && rm -rf ./scripts/"
|
||||
command = "sh scripts/netlify.sh"
|
||||
|
||||
[[redirects]]
|
||||
from = "/git/*"
|
||||
|
|
13
scripts/netlify.sh
Normal file
13
scripts/netlify.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
set -xeu
|
||||
|
||||
main() {
|
||||
rustup toolchain install stable
|
||||
pip install -r requirements/requirements.txt
|
||||
CI=1 NOCLR=1 python3 ./scripts/blog.py static
|
||||
rm -rf ./scripts/ ./requirements/
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
Loading…
Add table
Reference in a new issue