Try using another dir
This commit is contained in:
parent
4ca05fa4ca
commit
8c7602a50a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user