|
|
@ -0,0 +1,38 @@ |
|
|
|
--- |
|
|
|
resources: |
|
|
|
- name: resume-git |
|
|
|
type: git |
|
|
|
icon: git |
|
|
|
source: |
|
|
|
uri: ssh://git@git.nulloctet.com:8437/warricksothr/resume.git |
|
|
|
private_key: | |
|
|
|
((pull_key)) |
|
|
|
|
|
|
|
jobs: |
|
|
|
- name: publish |
|
|
|
public: true |
|
|
|
plan: |
|
|
|
- get: resume-git |
|
|
|
trigger: true |
|
|
|
- task: build-resume |
|
|
|
config: |
|
|
|
platform: linux |
|
|
|
image_resource: |
|
|
|
type: registry-image |
|
|
|
source: { repository: schickling/latex, tag: "latest" } |
|
|
|
inputs: |
|
|
|
- name: resume-git |
|
|
|
outputs: |
|
|
|
- name: resume-files |
|
|
|
run: |
|
|
|
path: /bin/sh |
|
|
|
args: |
|
|
|
- -c |
|
|
|
- | |
|
|
|
cd resume-git |
|
|
|
./scripts/build-pdf-resume.sh |
|
|
|
./scripts/build-pdf-resume-for-recruiters.sh |
|
|
|
./scripts/build-html-resume.sh |
|
|
|
mv resume.pdf ../resume-files/ |
|
|
|
mv resume_for_recruiters.pdf ../resume-files/ |
|
|
|
mv ResumeSite.tar.gz ../resume-files/ |