Try with node image

This commit is contained in:
Nikolai Rodionov 2024-02-12 11:35:19 +01:00
parent 86b01ed11e
commit fd965244f1
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 3 additions and 7 deletions

View File

@ -3,16 +3,12 @@ when:
steps: steps:
build: build:
name: Build the CV name: Build the CV
image: ghcr.io/puppeteer/puppeteer:21 image: node
environment: environment:
OUTPUT: /tmp/out OUTPUT: /tmp/out
commands: commands:
- npm cache clean --force - npm install -g md-to-pdf
- mkdir -p $OUTPUT - md-to-pdf index.md
- cp -R ./* $OUTPUT
- cd $OUTPUT
- npm install md-to-pdf
- npx md-to-pdf index.md
- mkdir $WORKSPACE/cv - mkdir $WORKSPACE/cv
- mv index.pdf $WORKSPACE/cv/n.rodionov.pdf - mv index.pdf $WORKSPACE/cv/n.rodionov.pdf
upload: upload:

BIN
index.pdf Normal file

Binary file not shown.