summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2019-12-24 16:44:48 -0500
committerKasra Bigdeli <[email protected]>2019-12-24 16:44:48 -0500
commit209906d7e63e3715a74eeffb457797b138647cae (patch)
tree9dbdff56c2522692cb87b437e4b5aaf2c9825358
parentf270470a3f3325f6308d695abfcf9da9baad9f85 (diff)
downloadcaprover-one-click-apps-209906d7e63e3715a74eeffb457797b138647cae.tar.gz
caprover-one-click-apps-209906d7e63e3715a74eeffb457797b138647cae.zip
updated
-rwxr-xr-xpublish-from-actions.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/publish-from-actions.sh b/publish-from-actions.sh
index d7f41f6..1e16cdd 100755
--- a/publish-from-actions.sh
+++ b/publish-from-actions.sh
@@ -27,6 +27,8 @@
set -e
source ./build_dir
+# git rm -rf .
+# git clean -fxd
echo "#################################################"
echo "Changing directory to 'BUILD_DIR' $BUILD_DIR ..."
@@ -43,7 +45,7 @@ if [[ "$REPONAME" == "$GHIO" ]]; then
else
REMOTE_BRANCH="gh-pages"
fi && \
-REMOTE_BRANCH="test-publish-pages"
+REMOTE_BRANCH="test-publish-pages" && \
git init && \
git config user.name "${GITHUB_ACTOR}" && \
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" && \