Commit 200d9d50 authored by mcmodder's avatar mcmodder
Browse files

Тестим автовыгрузку на малинку

parent 6b662d9f
Pipeline #98 passed with stage
in 26 seconds
image: marcusandre/luvit
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- cd repobuild
generateRepoFile:
script:
- luvit repoManager.lua $gitlabToken https://gitlab.ely.by/api/v3/
- scp -P 722 repo.txt pi@mcmodder.ru:/var/www/api/repo.txt
artifacts:
paths:
- repobuild/repo.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment