mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-14 00:29:48 +00:00
still fighting with travis
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user