alpine-repo/.gitlab-ci.yml

10 lines
231 B
YAML
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
2021-03-29 16:36:24 +02:00
- echo "$CI_KEY" | ssh-add -
- ssh ci@$CI_HOST "cd alpine-root && git pull && ./build.sh"
2021-03-29 15:49:50 +02:00
rules:
- if: '$CI_COMMIT_BRANCH == "master"'