WIP
This commit is contained in:
parent
74828376e4
commit
af43a41ec9
30
.drone.yml
30
.drone.yml
@ -1,30 +0,0 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: Publish the CV
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- npm i -g md-to-pdf
|
||||
- cd cv
|
||||
- md-to-pdf n.rodionov.md
|
||||
- mkdir /out
|
||||
- mv n.rodionov.pdf /out
|
||||
|
||||
- name: Upload CV to Minio
|
||||
image: rclone/rclone:latest
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
environment:
|
||||
RCLONE_CONFIG_CONTENT:
|
||||
from_secret: RCLONE_CONFIG_CONTENT
|
||||
RCLONE_CONFIG: /tmp/rclone.conf
|
||||
commands:
|
||||
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
|
||||
- rclone copy -P /out/n.rodionov.pdf badhouseplants-minio:/public-download
|
Loading…
Reference in New Issue
Block a user