Files
Froxlor/.drone.yml
Udo Waechter 0e75f74eb8
Some checks failed
continuous-integration/drone/push Build is failing
drone yaml
2023-12-06 18:03:16 +01:00

40 lines
860 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: ['.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: 15m
#b- name: clear-cache
#b image: appleboy/drone-ssh
#b settings:
#b host:
#b - rechner02.maketank.net
#b username: kmmportal
#b key:
#b from_secret: ssh-kmmportal-maketank-rsa
#b script:
#b - cd ~/drupal/sites/default && ~/drupal/vendor/bin/drush cc all
#b