still fighting with travis

This commit is contained in:
dovholuknf
2020-08-05 13:34:10 -04:00
parent 576186f1db
commit 8ef07af4bf
2 changed files with 10 additions and 1 deletions
+3
View File
@@ -15,10 +15,13 @@ install:
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install -y zip ninja; fi
before_script:
- type ${TRAVIS_HOME}/.ssh/known_hosts
- export GIT_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
script:
- type ${TRAVIS_HOME}/.ssh/known_hosts
- service/publish.bat
- type ${TRAVIS_HOME}/.ssh/known_hosts
stages:
- name: deploy
+7 -1
View File
@@ -69,8 +69,14 @@ git add service/ziti-tunnel/version.go 2>&1
CALL :FAIL %ERRORLEVEL% "git add failed"
@echo git add service/ziti-tunnel/version.go complete: %ERRORLEVEL%
@echo issuing ssh-keyscan
@echo trying to output ${TRAVIS_HOME}/.ssh/known_hosts to stdout
type ${TRAVIS_HOME}/.ssh/known_hosts
@echo issuing ssh-keyscan"zit
ssh-keyscan -t rsa github.com 2>&1 >> /root/.ssh/known_hosts
@echo trying to output ${TRAVIS_HOME}/.ssh/known_hosts to stdout
ssh -vT -i github_deploy_key git@github.com 2>&1
@echo issuing commit