Try using another dir

This commit is contained in:
Nikolai Rodionov 2024-02-06 17:29:08 +01:00
parent 4ca05fa4ca
commit 8c7602a50a
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -4,13 +4,16 @@ steps:
build:
name: Build the CV
image: ghcr.io/puppeteer/puppeteer
environment:
OUTPUT: /tmp/out
commands:
- cp -R ./* $HOME
- cd $HOME
- mkdir -p $OUTPUT
- cp -R ./* $OUTPUT
- cd $OUTPUT
- npm install md-to-pdf
- npx md-to-pdf index.md
- mkdir $DRONE_WORKSPACE/cv
- mv index.pdf $DRONE_WORKSPACE/cv/n.rodionov.pdf
- mkdir $WORKSPACE/cv
- mv index.pdf $WORKSPACE/cv/n.rodionov.pdf
upload:
name: Upload the CV
image: rclone/rclone:latest