|
@ -45,7 +45,7 @@ deploy-resume-github: |
|
|
script: |
|
|
script: |
|
|
- eval `ssh-agent -s` |
|
|
- eval `ssh-agent -s` |
|
|
- ssh-add <(echo "$SSH_DEPLOY_KEY") |
|
|
- ssh-add <(echo "$SSH_DEPLOY_KEY") |
|
|
- git pull $GIT_REPO /tmp/deploy |
|
|
|
|
|
|
|
|
- git clone $GIT_REPO /tmp/deploy |
|
|
- pushd /tmp/deploy |
|
|
- pushd /tmp/deploy |
|
|
- git checkout -b gh-pages origin/gh-pages |
|
|
- git checkout -b gh-pages origin/gh-pages |
|
|
- rm -rf * |
|
|
- rm -rf * |
|
|