Skip to content

Commit 52cc0f6

Browse files
committed
pull to make sure deploy branch is up to date before committing
1 parent 83e3107 commit 52cc0f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ git symbolic-ref HEAD refs/heads/$deploy_branch
3636
#put the previously committed contents of deploy_branch branch into the index
3737
git --work-tree "$deploy_directory" reset --mixed
3838

39+
git --work-tree "$deploy_directory" pull
3940
git --work-tree "$deploy_directory" add --all
4041

4142
if git --work-tree "$deploy_directory" diff --exit-code --quiet HEAD; then

0 commit comments

Comments
 (0)