build: stage: build image: alpine:3.13 script: - apk add openssh-client - eval $(ssh-agent -s) - echo "$CI_KEY" | ssh-add - - ssh -o StrictHostKeyChecking=no ci@$CI_HOST "cd alpine-repo && git pull && ./build.sh" rules: - if: '$CI_COMMIT_BRANCH == "master"'