OK, drone should deploy itself
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-03-29 11:28:30 +02:00
parent b774bb781f
commit 7fc3ae6cf5
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 12 additions and 9 deletions

View File

@ -11,3 +11,12 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- docker build --no-cache -t autonomic/drone:drone . - docker build --no-cache -t autonomic/drone:drone .
- name: Deploy Drone with Dokku
image: appleboy/drone-git-push:0.2.0-linux-amd64
settings:
remote: ssh://dokku@dokku.autonomic.zone:222/drone
ssh_key:
from_secret: drone_deploy_key
when:
branch: master

View File

@ -4,13 +4,7 @@
> https://drone.io/ > https://drone.io/
## Deploy # Deploy
We deploy Drone by hand because it cannot replace itself during the deployment process. 1. Push your changes to master and Dokku will try to automatically release
1. See the [Drone dashboard to see the build](https://drone.autonomic.zone/autonomic-cooperative/drone/)
See the [wiki](https://git.autonomic.zone/autonomic-cooperative/organising/wiki/hacking-on-dokku-apps) for documentation about setting up your SSH connection.
```bash
$ git remote add dokku dokku@dokku.autonomic.zone:drone
$ git push dokku
```