2022-06-03 08:23:08 -04:00
|
|
|
kind: pipeline
|
2022-06-03 08:47:24 -04:00
|
|
|
type: exec
|
2022-06-03 08:23:08 -04:00
|
|
|
name: create_pdf_release
|
|
|
|
|
2022-06-03 08:51:52 -04:00
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
2022-06-03 08:23:08 -04:00
|
|
|
steps:
|
2022-06-03 08:47:24 -04:00
|
|
|
- name: install_mdpdf
|
|
|
|
commands:
|
|
|
|
- npm i md-to-pdf
|
|
|
|
|
2022-06-03 08:53:26 -04:00
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
name: render_pdf
|
|
|
|
|
|
|
|
steps:
|
2022-06-03 08:23:08 -04:00
|
|
|
- name: render_md
|
|
|
|
image: node
|
|
|
|
commands:
|
|
|
|
- npm run build
|
|
|
|
|
|
|
|
- name: gitea_release
|
|
|
|
image: plugins/gitea-release
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: api_key
|
|
|
|
base_url: https://git.thomaspcole.com
|
|
|
|
files: Resume.pdf
|