Add deploy for dpsgbergischland
This commit is contained in:
parent
d38989f302
commit
45a1e165fa
18
.drone.yml
18
.drone.yml
|
@ -144,6 +144,24 @@ steps:
|
||||||
branch: master
|
branch: master
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
|
- name: deploy dpsgbergischland
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
hosts: ['zoomyboy.de']
|
||||||
|
user: dpsgbergischland
|
||||||
|
source: ./
|
||||||
|
target: ~/adrema
|
||||||
|
exclude: ['.git']
|
||||||
|
key:
|
||||||
|
from_secret: deploy_private_key
|
||||||
|
script:
|
||||||
|
- cd ~/adrema
|
||||||
|
- /usr/bin/php8.1 artisan migrate --force
|
||||||
|
- sudo systemctl restart adremabl-queue
|
||||||
|
when:
|
||||||
|
branch: master
|
||||||
|
event: push
|
||||||
|
|
||||||
- name: github push
|
- name: github push
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in New Issue