website/bin/build.sh
Andrei Jiroh Halili 3c72c15703
Some checks failed
Docker CI / Build environment for GitLab CI/CD (push) Has been cancelled
Docker CI / Generate Gitpod workspace image snapshot (push) Has been cancelled
ci(gitlab-ci): update deploy script for uberspace
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
2024-10-13 03:15:13 +00:00

8 lines
222 B
Bash
Executable file

#!/usr/bin/env bash
set -ex
SOURCE_DIR="${PWD}/markdown"
TARGET_DIR="${PWD}/public"
pipenv run build
cp "$TARGET_DIR/assets/images/favicon.png" "$TARGET_DIR/favicon.ico" -v
cp "$SOURCE_DIR/.well-known" "$TARGET_DIR/" -rv