You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
605 B
29 lines
605 B
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
|
|
|