llncsconf/.woodpecker/build.yml

37 lines
934 B
YAML
Raw Normal View History

2022-03-16 21:47:19 +00:00
pipeline:
build:
image: docker.io/texlive/texlive
commands:
2022-03-19 14:52:49 +00:00
- export ARTIFACT_DIR=$CI_WORKSPACE/.artifacts/$CI_REPO_NAME/$CI_BRANCH/$CI_BUILD_NUMBER/
- mkdir -p $ARTIFACT_DIR
- pdflatex "\PassOptionsToPackage{$STATUS,$CROP}{llncsconf}\input{example.tex}"
2022-03-16 21:47:19 +00:00
- pdflatex "\PassOptionsToPackage{$STATUS,$CROP}{llncsconf}\input{example.tex}"
2022-03-19 14:52:49 +00:00
- cp example.pdf $ARTIFACT_DIR/example_${STATUS}_${CROP}.pdf
- find $ARTIFACT_DIR
2022-03-19 20:29:03 +00:00
- cd $ARTIFACT_DIR
- cd ..
- ln -s * latest
- sleep 5
2022-03-19 14:52:49 +00:00
deploy:
image: docker.io/drillster/drone-rsync
settings:
hosts: [ "ci.logicalhacking.com"]
port: 22
source: .artifacts/$CI_REPO_NAME/*
target: $CI_REPO_NAME
include: [ "**.*"]
key:
from_secret: artifacts_ssh
user: artifacts
2022-03-16 21:47:19 +00:00
matrix:
CROP:
2022-03-19 14:52:49 +00:00
- nocrop
2022-03-16 21:47:19 +00:00
- crop
STATUS:
- intended
- submitted
- accepted
- proceedings
- llncs