Remove drone config and add gitignore
This commit is contained in:
parent
13e3c8dd1b
commit
c132f1d80a
34
.drone.yml
34
.drone.yml
@ -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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
index.pdf
|
Loading…
Reference in New Issue
Block a user