This commit is contained in:
27
.drone.yml
27
.drone.yml
@@ -12,14 +12,16 @@ trigger:
|
||||
event:
|
||||
include:
|
||||
- push
|
||||
|
||||
environment:
|
||||
FRX_DIR: froxlor-test
|
||||
|
||||
steps:
|
||||
- name: deploy
|
||||
image: cr.wks/drone/drone-rsync:latest
|
||||
settings:
|
||||
hosts: ["rechner02.maketank.net"]
|
||||
source: ./
|
||||
target: /var/www/froxlor
|
||||
target: ~/${FRX_DIR}
|
||||
user: www-data
|
||||
exclude: ['vendor', '.git*', '*drone.yml', '.settings', '.buildpath', '.editorconfig', '.project', '.travis.yml']
|
||||
args: '-v -n --delete'
|
||||
@@ -27,14 +29,13 @@ steps:
|
||||
key:
|
||||
from_secret: ssh-www-data-maketank-rsa
|
||||
command_timeout: 10m
|
||||
#- name: clear-cache
|
||||
# image: appleboy/drone-ssh
|
||||
# settings:
|
||||
# host:
|
||||
# - rechner02.maketank.net
|
||||
# username: kmmportal
|
||||
# key:
|
||||
# from_secret: ssh-kmmportal-maketank-rsa
|
||||
# script:
|
||||
# - cd ~/drupal/sites/default && ~/drupal/vendor/bin/drush cc all
|
||||
#
|
||||
- name: compose-install
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host:
|
||||
- rechner02.maketank.net
|
||||
username: www-data
|
||||
key:
|
||||
from_secret: ssh-www-data-maketank-rsa
|
||||
script:
|
||||
- cd ~/${FRX_DIR} && composer install --no-dev
|
||||
|
||||
Reference in New Issue
Block a user