Try woodpecker
This commit is contained in:
parent
21e8334e04
commit
4ca05fa4ca
23
.woodpecker.yaml
Normal file
23
.woodpecker.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
when:
|
||||
event: push
|
||||
steps:
|
||||
build:
|
||||
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
|
||||
upload:
|
||||
name: Upload the CV
|
||||
image: rclone/rclone:latest
|
||||
secrets:
|
||||
- rclone_config_content
|
||||
environment:
|
||||
RCLONE_CONFIG: /tmp/rclone.conf
|
||||
commands:
|
||||
- echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG
|
||||
- rclone copy -P $DRONE_WORKSPACE/cv badhouseplants-minio:/public-download
|
Loading…
Reference in New Issue
Block a user