Gitea deploy
Some checks failed
Deploy / deploy (push) Failing after 4m25s

This commit is contained in:
David Eisinger
2026-04-08 22:37:59 -04:00
parent 0856d67d2d
commit 7a50a7541a
5 changed files with 117 additions and 11 deletions

15
bin/deploy-local Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euo pipefail
repo_root=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
target_dir="${1:-/var/www/davideisinger.com}"
pushd "${repo_root}" >/dev/null
mkdir -p "${target_dir}"
rsync \
-v \
-r \
--delete \
public/ \
"${target_dir}/"
popd >/dev/null