You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
658 B
29 lines
658 B
stages: |
|
- test |
|
- doc |
|
|
|
image: code.ungleich.ch:5050/ungleich-public/cdist-contrib/ci-container:latest |
|
|
|
shellcheck: |
|
stage: test |
|
script: |
|
- make lint |
|
|
|
manpages: |
|
stage: test |
|
script: |
|
- make check-manpages |
|
|
|
docs: |
|
stage: doc |
|
only: |
|
- master |
|
before_script: |
|
- eval $(ssh-agent -s) |
|
- echo "$CD_SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null |
|
- mkdir -p ~/.ssh |
|
- echo "$CD_SSH_SERVER_HOSTKEYS" > ~/.ssh/known_hosts |
|
- chmod 644 ~/.ssh/known_hosts |
|
script: |
|
- make html |
|
- sftp fnux@staticwebhosting.ungleich.ch:public_html/cdist-contrib <<< "put -r docs/dist/html/*"
|
|
|