Add .drone.yml

This commit is contained in:
3wc 2020-09-25 02:26:38 +02:00
parent dd526ec4cf
commit 18420b4b7b
1 changed files with 19 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
---
kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: decentral1se/drone-stack:19.03.8
settings:
compose: compose.yml
host: ssh://swarm-test.autonomic.zone:222
stack_name: wordpress
environment:
DOMAIN: wordpress.swarm-test.autonomic.zone
STACK_NAME: wordpress
LETS_ENCRYPT_ENV: production
DB_PASSWORD_VERSION: v1
DB_ROOT_PASSWORD_VERSION: v1
trigger:
branch:
- drone