Deploy generated artifacts.
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
This commit is contained in:
parent
87bb66436f
commit
2d29d803f6
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue