drone deployment
This commit is contained in:
40
.drone.yml
Normal file
40
.drone.yml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
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
|
||||||
|
#
|
||||||
Reference in New Issue
Block a user