File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ deploy_test_github:
33
33
- git remote remove github &>/dev/null || true
34
34
-
git remote add github [email protected] :espressif/esp-hosted.git
35
35
# Using test branch
36
- - git branch ${TEST_BRANCH}
36
+ - git branch ${TEST_BRANCH} 2>&1 || echo "Branch exists" && git branch -D ${TEST_BRANCH} 2>&1 || echo "Branch deleted" && git branch ${TEST_BRANCH} 2>&1 && echo "Branch created"
37
37
- git push github "${CI_COMMIT_SHA}:refs/heads/${TEST_BRANCH}"
38
38
39
39
.deploy_master_github :
@@ -56,4 +56,5 @@ deploy_test_github:
56
56
- git remote remove github &>/dev/null || true
57
57
-
git remote add github [email protected] :espressif/esp-hosted.git
58
58
# Using master branch
59
- # - git push github "${CI_COMMIT_SHA}:refs/heads/${MASTER_BRANCH}"
59
+ # - git push github "${CI_COMMIT_SHA}:refs/heads/${MASTER_BRANCH}"
60
+
You can’t perform that action at this time.
0 commit comments