Test to fetch before checkout in build script
This commit is contained in:
parent
e88cb87867
commit
337a17cb48
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# get the deployment branch
|
# get the deployment branch
|
||||||
|
git fetch
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
# at this point we should be inside the docs/ folder of the gh-pages branch,
|
# at this point we should be inside the docs/ folder of the gh-pages branch,
|
||||||
# with the build/ directory available since this is not in git
|
# with the build/ directory available since this is not in git
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue