Deploy generated artifacts.
ci/woodpecker/push/build Pipeline was successful Details

This commit is contained in:
Achim D. Brucker 2022-03-19 14:06:22 +00:00
parent 87bb66436f
commit 2d29d803f6
1 changed files with 16 additions and 0 deletions

View File

@ -2,8 +2,24 @@ pipeline:
build:
image: docker.io/texlive/texlive
commands:
- export ARTIFACT_DIR=$CI_WORKSPACE/.artifacts/$CI_REPO_NAME/$CI_BRANCH/$CI_BUILD_NUMBER/
- mkdir -p $ARTIFACT_DIR
- cd examples
- curl http://www.entcs.org/generic.zip --output generic.zip
- unzip -p generic.zip generic/entcs.cls > entcs.cls
- rm generic.zip
- latexmk -pdf
- cp *.pdf $ARTIFACT_DIR
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