Update CI jobs

This commit is contained in:
Sonny Bakker 2020-07-29 22:47:32 +02:00
parent 7dab98ef5a
commit bea0257cae
4 changed files with 16 additions and 6 deletions

View file

@ -1,11 +1,11 @@
deploy:
stage: deploy
image: debian:buster
image: python:3.7
environment:
name: production
url: rss.fudiggity.nl
before_script:
- apt-get update && apt-get install --quiet --quiet --assume-yes ansible git
- pip install ansible --quiet
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@git.fudiggity.nl/sonny/ansible-playbooks.git deployment
- mkdir /root/.ssh
- echo "192.168.178.63 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILbtcdgJBhVCKsO88cV19EYefDTopdYejEQCp1pYr1Ga" > /root/.ssh/known_hosts