forked from mirrors/Awesome-CV
Migrate circle-ci v1 to v2
This commit is contained in:
parent
872069ac38
commit
131671c602
2 changed files with 21 additions and 14 deletions
21
.circleci/config.yml
Normal file
21
.circleci/config.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
version: 2
|
||||
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
# Primary container
|
||||
- image: thomasweise/texlive
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Compile
|
||||
command: make
|
||||
- run:
|
||||
name: Move artifacts
|
||||
command: |
|
||||
mkdir -p ~/results
|
||||
mv examples/cv.pdf ~/results
|
||||
mv examples/resume.pdf ~/results
|
||||
mv examples/coverletter.pdf ~/results
|
||||
- store_artifacts:
|
||||
path: ~/results
|
14
circle.yml
14
circle.yml
|
@ -1,14 +0,0 @@
|
|||
## Customize the test machine
|
||||
machine:
|
||||
timezone:
|
||||
Asia/Seoul
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
## Customize compile commands
|
||||
test:
|
||||
override:
|
||||
- docker run --rm -w "/doc" -v "$PWD":/doc thomasweise/texlive make
|
||||
post:
|
||||
- mv examples/*.pdf $CIRCLE_ARTIFACTS/
|
Loading…
Reference in a new issue