Skip to content
Snippets Groups Projects
Commit 60c93b48 authored by Wilfried Klaebe's avatar Wilfried Klaebe
Browse files

Merge remote-tracking branch 'upstream/master' into bugfix/wonka-1

parents 0a85c4ea d34809df
No related branches found
No related tags found
No related merge requests found
stages: [ build ]
stages:
- build
- publish
job_build:
build_guide:
stage: build
image: ubuntu:latest
script:
......@@ -13,4 +15,22 @@ job_build:
paths:
- "angelguide_en.pdf"
- "angelguide_de.pdf"
expire_in: 12 month
\ No newline at end of file
expire_in: 12 months
publish_artifacts:
stage: publish
image: ubuntu:latest
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- 'rsync -v angelguide_??.pdf $PUBLISHING_HOST:'
rules:
- if: '$CI_COMMIT_REF_NAME == "master"'
when: always
- when: never
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment