Skip to content

Commit 6662ca4

Browse files
committed
added cd
1 parent 1018d4c commit 6662ca4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ deploy() {
251251

252252
hook pre-deploy || abort pre-deploy hook failed
253253

254-
if run "git rev-parse --quiet --verify $branh" > /dev/null; then
254+
if run "cd $path/source && git rev-parse --quiet --verify $branh" > /dev/null; then
255255
log fast forward $branch
256256
run "cd $path/source && git checkout $branch && git pull origin $branch"
257257
test $? -eq 0 || abort git pull failed

0 commit comments

Comments
 (0)