Try using another dir

This commit is contained in:
Nikolai Rodionov 2024-02-06 17:52:43 +01:00
parent 9eaf3e4a44
commit 2630257c35
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -3,14 +3,13 @@ when:
steps: steps:
build: build:
name: Build the CV name: Build the CV
image: ghcr.io/puppeteer/puppeteer image: ghcr.io/puppeteer/puppeteer:21
environment: environment:
OUTPUT: /tmp/out OUTPUT: /tmp/out
commands: commands:
- mkdir -p $OUTPUT - mkdir -p $OUTPUT
- cp -R ./* $OUTPUT - cp -R ./* $OUTPUT
- cd $OUTPUT - cd $OUTPUT
- chown -R 999:999 "/root/.npm"
- npm install md-to-pdf - npm install md-to-pdf
- npx md-to-pdf index.md - npx md-to-pdf index.md
- mkdir $WORKSPACE/cv - mkdir $WORKSPACE/cv