From 32f330ab3f02292a864ceff9c9a95d502b7325d4 Mon Sep 17 00:00:00 2001 From: Griatch Date: Tue, 25 Jan 2022 23:02:15 +0100 Subject: [PATCH] Another test with the doc build process --- docs/deploy.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/deploy.sh b/docs/deploy.sh index 94e3cab062..45596212cf 100644 --- a/docs/deploy.sh +++ b/docs/deploy.sh @@ -32,7 +32,12 @@ git commit -a -m "Updated HTML docs" # echo "Skipping deployment" git push origin gh-pages -# get back to previous branch -git checkout - +if [[ -z ${CI} ]]; then + # skip getting back in CI build + echo "In CI build" +else + # get back to previous branch + git checkout - +fi echo "Deployed to https://evennia.github.io/evennia/"