Test to fetch before checkout in build script

This commit is contained in:
Griatch 2022-01-21 01:07:53 +01:00
parent e88cb87867
commit 337a17cb48

View file

@ -11,6 +11,7 @@ if [ -n "$(git status --untracked-files=no --porcelain)" ]; then
fi
# get the deployment branch
git fetch
git checkout gh-pages
# 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