Add drone
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
912c4d5f6f
commit
4512a41344
17
.drone.yml
17
.drone.yml
|
@ -135,6 +135,23 @@ steps:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
|
- name: deploy dpsgkoeln
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
hosts: ['dpsg-koeln.de']
|
||||||
|
user: dpsg-koeln
|
||||||
|
source: ./
|
||||||
|
target: ~/adrema
|
||||||
|
exclude: ['.git']
|
||||||
|
key:
|
||||||
|
from_secret: private_key
|
||||||
|
script:
|
||||||
|
- cd ~/adrema
|
||||||
|
- /usr/bin/php8.1 artisan migrate --force
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: push
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: db
|
- name: db
|
||||||
image: mariadb/server:10.3
|
image: mariadb/server:10.3
|
||||||
|
|
Loading…
Reference in New Issue