|
|
@ -26,6 +26,7 @@ deploy-resume-site: |
|
|
|
script: |
|
|
|
- eval `ssh-agent -s` |
|
|
|
- ssh-add <(echo "$SSH_DEPLOY_KEY") |
|
|
|
- mkdir -p ~/.ssh |
|
|
|
- ssh-keyscan -p $DEPLOY_PORT sothr.com >> ~/.ssh/known_hosts |
|
|
|
- mkdir /tmp/deploy |
|
|
|
- tar -xvf ResumeSite.tar.gz -C /tmp/deploy |
|
|
@ -46,6 +47,7 @@ deploy-resume-github: |
|
|
|
script: |
|
|
|
- eval `ssh-agent -s` |
|
|
|
- ssh-add <(echo "$SSH_DEPLOY_KEY") |
|
|
|
- mkdir -p ~/.ssh |
|
|
|
- ssh-keyscan github.com >> ~/.ssh/known_hosts |
|
|
|
- git clone $GIT_REPO /tmp/deploy |
|
|
|
- pushd /tmp/deploy |
|
|
|