gitea/.drone.yml
Luke Murphy 0b0ed69dc4
All checks were successful
continuous-integration/drone/push Build is passing
Generate and purge
2020-10-27 11:36:39 +01:00

40 lines
1.1 KiB
YAML

---
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: gitea
generate_secrets: true
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
environment:
DOMAIN: gitea.swarm-test.autonomic.zone
STACK_NAME: gitea
LETS_ENCRYPT_ENV: production
GITEA_ALLOW_ONLY_EXTERNAL_REGISTRATION: true
GITEA_APP_NAME: Git with solidaritea
GITEA_AUTO_WATCH_NEW_REPOS: false
GITEA_DISABLE_REGISTRATION: false
GITEA_DOMAIN: gitea.swarm-test.autonomic.zone
GITEA_ENABLE_NOTIFY_MAIL: false
GITEA_ENABLE_OPENID_SIGNIN: true
GITEA_ENABLE_OPENID_SIGNUP: true
GITEA_MAILER_FROM: foo@example.com
GITEA_MAILER_HOST: smtp.example.com
GITEA_MAILER_USER: foo@example.com
GITEA_SSH_PORT: 2222
APP_INI_VERSION: v1
DB_PASSWD_VERSION: v1
DB_ROOT_PASSWD_VERSION: v1
INTERNAL_TOKEN_VERSION: v1
JWT_SECRET_VERSION: v1
SECRET_KEY_VERSION: v1
SMTP_PASSWD_VERSION: v1
trigger:
branch:
- master