Update ci

This commit is contained in:
Dorian Zedler 2022-05-11 23:47:29 +02:00
parent 2ad7576d8a
commit fc8ef06672
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -2,7 +2,8 @@ build:
image: ubuntu:latest
stage: build
script:
- apt update && apt install -y build-essential
- apt-get update
- apt-get install -y build-essential
- make all
artifacts:
paths:
@ -17,8 +18,8 @@ deploy_production:
name: production
url: timer.itsblue.de
script:
- apt update
- apt install -y openssh-client rsync
- apt-get update
- apt-get install -y openssh-client rsync
- chmod 700 $DEPLOYMENT_SSH_KEY
- rsync -avz -e "ssh -i $DEPLOYMENT_SSH_KEY -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" ./public/ root@10.10.0.1:/opt/lamp/www/timer.itsblue.de
only: