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:
build:
name: Build the CV
image: ghcr.io/puppeteer/puppeteer:21
image: node
environment:
OUTPUT: /tmp/out
commands:
- npm cache clean --force
- mkdir -p $OUTPUT
- cp -R ./* $OUTPUT
- cd $OUTPUT
- npm install md-to-pdf
- npx md-to-pdf index.md
- npm install -g md-to-pdf
- md-to-pdf index.md
- mkdir $WORKSPACE/cv
- mv index.pdf $WORKSPACE/cv/n.rodionov.pdf
upload:

BIN
index.pdf Normal file

Binary file not shown.