diff --git a/.build.yml b/.build.yml index dbdbb89..f9d3bff 100644 --- a/.build.yml +++ b/.build.yml @@ -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 diff --git a/Pipfile b/Pipfile index 22b7c75..8fd49ef 100644 --- a/Pipfile +++ b/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" diff --git a/bin/build.sh b/bin/build.sh index f00c76a..27639cc 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -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