From fc8ef066729a5bfde57dc745ca1af2cdbc3be8cc Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Wed, 11 May 2022 23:47:29 +0200 Subject: [PATCH] Update ci --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b57e9bd..71fc04c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: