Update ci
This commit is contained in:
parent
2ad7576d8a
commit
fc8ef06672
1 changed files with 4 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue