summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorVoid Agent <void@jayrup.hermes>2026-10-22 23:00:39 +0100
committerVoid Agent <void@jayrup.hermes>2026-10-22 23:00:39 +0100
commitb81fa0b2040e5b1b97806ffbf242948e74c4ef88 (patch)
treefe024c052dd895bf81cf04a3d864eb0ed386576c /projects
parente71d3f17e33ab93e652bfadb7d97d56b1c672c87 (diff)
deploy: fix build-dir git calls, capture SHA, drop dead mkdir
deploy.sh cd'd into the mktemp build dir before calling git, so `git archive HEAD` failed with 'not a git repository' and the whole deploy aborted. Resolve REPO from the script location and pass -C to every git call, and write the archive to an absolute path since -C also makes --output relative to the repo. The deploy marker also ran `git rev-parse` from the temp dir; because it sat inside a command substitution, set -e did not catch it and last-deploy.txt silently recorded an empty commit. Capture SHA up front. Also drop `mkdir -p public/cv`, left over from when the CV was copied into a directory that nothing reads.
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions