synced-timer/.gitlab-ci.yml

14 lines
386 B
YAML
Raw Normal View History

2021-07-11 09:17:35 +02:00
deploy_production:
type: deploy
image: ubuntu:latest
environment:
name: production
url: timer.itsblue.de
script:
- apt update
- apt install -y openssh-client
- chmod 700 $DEPLOYMENT_SSH_KEY
2021-07-11 09:27:52 +02:00
- scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $DEPLOYMENT_SSH_KEY -rp ./. root@10.10.0.1:/opt/lamp/www/timer.itsblue.de
2021-07-11 09:17:35 +02:00
only:
- master