40 lines
868 B
YAML
40 lines
868 B
YAML
kind: pipeline
|
|
name: deploy-froxlor
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
|
|
trigger:
|
|
branch:
|
|
- private-0.10.35.1-dmarc
|
|
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
|
|
#- 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
|
|
# |