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