alpine-repo/.gitlab-ci.yml.disabled

11 lines
286 B
Plaintext
Raw Normal View History

2021-03-29 15:49:50 +02:00
build:
stage: build
2021-03-29 15:51:00 +02:00
image: alpine:3.13
2021-03-29 15:49:50 +02:00
script:
- apk add openssh-client
- eval $(ssh-agent -s)
2021-03-29 16:36:24 +02:00
- echo "$CI_KEY" | ssh-add -
2021-03-29 16:43:08 +02:00
- ssh -o StrictHostKeyChecking=no ci@$CI_HOST "cd alpine-repo && git pull && ./build.sh"
2021-03-29 15:49:50 +02:00
rules:
- if: '$CI_COMMIT_BRANCH == "master"'