Browse Source

Removing deploy step because git is not working as it should

environments/production/deployments/9
Drew Short 6 years ago
parent
commit
5a928a34fc
  1. 11
      .gitlab-ci.yml
  2. 1
      package-and-deploy.sh

11
.gitlab-ci.yml

@ -15,15 +15,4 @@ build-resume:
paths:
- DPSResume.pdf
- ResumeSite.tar.gz
deploy-resume:
stage: deploy
script:
- mkdir -p ~/.ssh && echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
- git config --global user.email "gitlab-runner@shinigami.sothr.com" && git config --global user.name "GitLab Runner"
- ./package-and-deploy.sh
only:
- master
tags:
- linux

1
package-and-deploy.sh

@ -36,3 +36,4 @@ git push ssh://git@gitlab.sothr.com:9141/warricksothr/resume.git HEAD:gh-pages -
git clean -fq .
git clean -fdXq
git checkout master
git pull
Loading…
Cancel
Save