From af43a41ec9390643dd7167fcf3270e209982056c Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sun, 19 Mar 2023 18:42:05 +0100 Subject: [PATCH] WIP --- .drone.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index fce34f5..0000000 --- a/.drone.yml +++ /dev/null @@ -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