update drone
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0a457d2bb5
commit
3029fb276b
20
.drone.yml
20
.drone.yml
|
@ -73,7 +73,7 @@ steps:
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy silva
|
||||||
image: drillster/drone-rsync
|
image: drillster/drone-rsync
|
||||||
settings:
|
settings:
|
||||||
hosts: ['zoomyboy.de']
|
hosts: ['zoomyboy.de']
|
||||||
|
@ -87,6 +87,24 @@ steps:
|
||||||
- cd ~/nami
|
- cd ~/nami
|
||||||
- /usr/bin/php8.1 artisan migrate --force
|
- /usr/bin/php8.1 artisan migrate --force
|
||||||
when:
|
when:
|
||||||
|
branch: master
|
||||||
|
event: push
|
||||||
|
|
||||||
|
- name: deploy lennep
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
hosts: ['zoomyboy.de']
|
||||||
|
user: dpsg-lennep
|
||||||
|
source: ./
|
||||||
|
target: ~/nami
|
||||||
|
exclude: ['.git']
|
||||||
|
key:
|
||||||
|
from_secret: private_key
|
||||||
|
script:
|
||||||
|
- cd ~/nami
|
||||||
|
- /usr/bin/php8.1 artisan migrate --force
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
event: push
|
event: push
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue