Add new file
This commit is contained in:
parent
fa7daba41e
commit
cced1dbc18
1 changed files with 13 additions and 0 deletions
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
- scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i $DEPLOYMENT_SSH_KEY -r ./* root@10.10.0.1:/opt/lamp/www/timer.itsblue.de
|
||||
only:
|
||||
- master
|
Loading…
Reference in a new issue