mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +00:00
ci(builds.sr.ht): more chores over at buildscripts
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
This commit is contained in:
parent
3e4715f48f
commit
d3d4c30b52
3 changed files with 5 additions and 7 deletions
|
@ -39,9 +39,9 @@ tasks:
|
|||
# our build script handles both the install and build stuff itself
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
pipenv install --ignore-pipfile --deploy
|
||||
pipenv run build-tilde-ctrlc
|
||||
pipenv run build-tilde-psflt
|
||||
pipenv run build-tilde-dimensions
|
||||
TILDE_PUBLIC_HTML_BASE=https://ctrl-c.club/~ajhalili2006/ TARGET_DIR=build/ctrl-c.club ./bin/build.sh mkdocs.tilde.yml
|
||||
TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.p.psf.lt TARGET_DIR=build/p.psf.lt ./bin/build.sh mkdocs.tilde.yml
|
||||
TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.dimension.sh TARGET_DIR=build/dimension.sh ./bin/build.sh mkdocs.tilde.yml
|
||||
- generate-archive: |
|
||||
cd web
|
||||
tar -C build -cvz . -f tildeweb-prod-build.tar.gz
|
||||
|
|
4
Pipfile
4
Pipfile
|
@ -23,6 +23,4 @@ python_version = "3.11"
|
|||
dev = "mkdocs serve --watch overrides --watch-theme --livereload"
|
||||
build = "bash bin/build.sh"
|
||||
build-staging = "bash bin/build.sh mkdocs.readthedocs.yml"
|
||||
build-tilde-ctrlc = "TILDE_PUBLIC_HTML_BASE=https://ctrl-c.club/~ajhalili2006/ TARGET_DIR=build/ctrl-c.club bash bin/build.sh mkdocs.tilde.yml"
|
||||
build-tilde-psflt = "TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.p.psf.lt/ TARGET_DIR=build/p.psf.lt bash bin/build.sh mkdocs.tilde.yml"
|
||||
build-tilde-dimensions = "TILDE_PUBLIC_HTML_BASE=https://ajhalili2006.dimension.sh TARGET_DIR=build/dimension.sh bash bin/build.sh mkdocs.tilde.yml"
|
||||
build-tilde-ctrlc = "bash bin/build.sh mkdocs.tilde.yml"
|
||||
|
|
|
@ -12,7 +12,7 @@ if [[ ! -d "$TARGET_DIR" ]]; then
|
|||
fi
|
||||
|
||||
if [[ $SKIP_VENV_SETUP == "" ]] || [[ $CI == "" ]]; then
|
||||
pipenv install -r requirements.txt
|
||||
pipenv install --ignore-pipfile --deploy --verbose
|
||||
pipenv run -- mkdocs build -d "$TARGET_DIR" -f ${TARGET_BUILD_CONFIG}
|
||||
else
|
||||
pip3 install -r requirements.txt --upgrade --user
|
||||
|
|
Loading…
Reference in a new issue