Try with node image
This commit is contained in:
parent
86b01ed11e
commit
fd965244f1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user