From 4d65399d3e9954f87240612c3d04d26f3c78941a Mon Sep 17 00:00:00 2001 From: Kareem Zidane Date: Wed, 1 Aug 2018 16:24:24 -0400 Subject: [PATCH] fetching remote branches --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c3bceabc..d57e80a8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,5 @@ script: - make html && rm --force --recursive _build deploy: provider: script - script: 'git remote set-url origin "https://$USERNAME:$PASSWORD@github.com/cs50/manual50.git" && git branch --delete rel && git checkout -b rel && git add --all && git commit --message "$(date) [skip ci]" && git push --force origin rel' + script: 'git remote set-url origin "https://$USERNAME:$PASSWORD@github.com/cs50/manual50.git" && git fetch origin && git branch --delete rel && git checkout -b rel && git add --all && git commit --message "$(date) [skip ci]" && git push --force origin rel' skip_cleanup: true