deploy: move checkout to /opt/resumesite
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# ponytail: 1-minute cron poll, not a webhook — swap for the Gitea runner
|
# ponytail: 1-minute cron poll, not a webhook — swap for the Gitea runner
|
||||||
# (.gitea/workflows/deploy.yml) once the runner's job image has the Docker CLI + socket.
|
# (.gitea/workflows/deploy.yml) once the runner's job image has the Docker CLI + socket.
|
||||||
set -e
|
set -e
|
||||||
REPO=/home/pi/resumesite
|
REPO=/opt/resumesite
|
||||||
exec 9>/tmp/resumesite-deploy.lock
|
exec 9>/tmp/resumesite-deploy.lock
|
||||||
flock -n 9 || exit 0 # a build is already running
|
flock -n 9 || exit 0 # a build is already running
|
||||||
cd "$REPO"
|
cd "$REPO"
|
||||||
|
|||||||
Reference in New Issue
Block a user