stages: - build - deploy build-resume: stage: build script: - ./build-pdf-resume.sh - ./build-html-resume.sh only: - master tags: - linux artifacts: 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