Remove drone config and add gitignore

This commit is contained in:
Nikolai Rodionov 2024-02-21 11:24:05 +01:00
parent 13e3c8dd1b
commit c132f1d80a
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 1 additions and 34 deletions

View File

@ -1,34 +0,0 @@
---
# ----------------------------------------------
# -- Upload a newer version of my CV
# ----------------------------------------------
kind: pipeline
type: docker
name: CV Builder
trigger:
branch:
- main
event:
- push
steps:
- name: Build the CV
image: ghcr.io/puppeteer/puppeteer
commands:
- cp -R ./* $HOME
- cd $HOME
- npm install md-to-pdf
- npx md-to-pdf index.md
- mkdir $DRONE_WORKSPACE/cv
- mv index.pdf $DRONE_WORKSPACE/cv/n.rodionov.pdf
- name: Upload the CV
image: rclone/rclone:latest
environment:
RCLONE_CONFIG_CONTENT:
from_secret: RCLONE_CONFIG_CONTENT_PRIVATE
RCLONE_CONFIG: /tmp/rclone.conf
commands:
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
- rclone copy -P $DRONE_WORKSPACE/cv badhouseplants-minio:/public-download

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
index.pdf