Skip to content

Commit 57d81f9

Browse files
authored
Prevent build from being created in server repository (#237)
1 parent 9073b67 commit 57d81f9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/deploy-cron.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
# Scripts adapted from https://www.youtube.com/watch?v=jFrGhodqC08 by Tom Delande
44
# Licensed under https://creativecommons.org/licenses/by/4.0/
55

6-
LOCK_FILE="$(pwd)/build.lock"
76
cd /home/matthew/democrasite
8-
flock -n $LOCK_FILE scripts/deploy.sh >> build.log 2>&1
7+
flock -n "~/build.lock" scripts/deploy.sh >> ~/build.log 2>&1

0 commit comments

Comments
 (0)