This commit is contained in:
20
.drone.yml
Normal file
20
.drone.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: decentral1se/stack-ssh-deploy:latest
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: drone
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
generate_secrets: true
|
||||
purge: true
|
||||
environment:
|
||||
DOMAIN: drone.swarm-test.autonomic.zone
|
||||
STACK_NAME: drone
|
||||
LETS_ENCRYPT_ENV: production
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
@ -1,5 +1,9 @@
|
||||
export DOMAIN=drone.autonomic.zone
|
||||
export GITEA_CLIENT_ID=barfoo
|
||||
export GITEA_CLIENT_SECRET=foobar
|
||||
export LETS_ENCRYPT_ENV=production
|
||||
export SERVICE=drone
|
||||
export STACK_NAME=drone
|
||||
|
||||
export DOMAIN=drone.autonomic.zone
|
||||
export LETS_ENCRYPT_ENV=production
|
||||
|
||||
# Gitea Single Sign On
|
||||
#export GITEA_CLIENT_ID=barfoo
|
||||
#export GITEA_CLIENT_SECRET=foobar
|
||||
|
Reference in New Issue
Block a user