diff --git a/.woodpecker.yaml b/.woodpecker.yaml index e0bf65f..2ce5639 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -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