Upload only when main
This commit is contained in:
parent
75b958bc6e
commit
558c37f7ad
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
name: Build the CV
|
name: Build the CV
|
||||||
@ -23,7 +22,10 @@ steps:
|
|||||||
md-to-pdf index.md --launch-options '{ "args": ["--no-sandbox"] }'
|
md-to-pdf index.md --launch-options '{ "args": ["--no-sandbox"] }'
|
||||||
- mkdir $CI_WORKSPACE/cv
|
- mkdir $CI_WORKSPACE/cv
|
||||||
- mv index.pdf $CI_WORKSPACE/cv/n.rodionov.pdf
|
- mv index.pdf $CI_WORKSPACE/cv/n.rodionov.pdf
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
name: Upload the CV
|
name: Upload the CV
|
||||||
image: rclone/rclone:latest
|
image: rclone/rclone:latest
|
||||||
secrets:
|
secrets:
|
||||||
|
Loading…
Reference in New Issue
Block a user