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