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
584 B
29 lines
584 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:
|
|
- eval $(ssh-agent -s) && ssh-add <(echo "$SSH_PRIVATE_KEY") && mkdir -p ~/.ssh
|
|
- 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
|
|
|