Files
Froxlor/.drone.yml
Udo Waechter 59ce699440
All checks were successful
continuous-integration/drone/push Build is passing
exclude vendor
2023-12-06 18:33:41 +01:00

40 lines
859 B
YAML

kind: pipeline
name: deploy-froxlor
type: docker
platform:
os: linux
arch: arm64
trigger:
branch:
- live
event:
include:
- push
steps:
- name: deploy
image: cr.wks/drone/drone-rsync:latest
settings:
hosts: ["rechner02.maketank.net"]
source: ./
target: /var/www/froxlor
user: www-data
exclude: ['vendor', '.git*', '*drone.yml', '.settings', '.buildpath', '.editorconfig', '.project', '.travis.yml']
args: '-v -n --delete'
log_level: quiet
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
#