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: build:
name: Build the CV name: Build the CV
image: ghcr.io/puppeteer/puppeteer image: ghcr.io/puppeteer/puppeteer
environment:
OUTPUT: /tmp/out
commands: commands:
- cp -R ./* $HOME - mkdir -p $OUTPUT
- cd $HOME - cp -R ./* $OUTPUT
- cd $OUTPUT
- npm install md-to-pdf - npm install md-to-pdf
- npx md-to-pdf index.md - npx md-to-pdf index.md
- mkdir $DRONE_WORKSPACE/cv - mkdir $WORKSPACE/cv
- mv index.pdf $DRONE_WORKSPACE/cv/n.rodionov.pdf - mv index.pdf $WORKSPACE/cv/n.rodionov.pdf
upload: upload:
name: Upload the CV name: Upload the CV
image: rclone/rclone:latest image: rclone/rclone:latest