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: