llncsconf/.woodpecker/build.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2022-03-16 21:47:19 +00:00
pipeline:
build:
image: docker.io/texlive/texlive
commands:
2022-03-20 11:09:46 +00:00
- export ARTIFACT_DIR=$CI_WORKSPACE/.artifacts/$CI_REPO/$CI_BRANCH/$CI_BUILD_NUMBER/
2022-03-19 14:52:49 +00:00
- 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
2022-03-20 11:09:46 +00:00
source: .artifacts/$CI_REPO_OWNER/*
target: $CI_REPO_OWNER
2022-03-19 14:52:49 +00:00
include: [ "**.*"]
key:
from_secret: artifacts_ssh
user: artifacts
notify:
image: drillster/drone-email
settings:
host: smtp.0x5f.org
username: woodpecker
password:
from_secret: email
from: ci@logicalhacking.com
when:
status: [ changed, failure ]
2022-03-19 14:52:49 +00:00
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