OK, drone should deploy itself
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b774bb781f
commit
7fc3ae6cf5
@ -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
|
||||||
|
12
README.md
12
README.md
@ -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
|
|
||||||
```
|
|
||||||
|
Reference in New Issue
Block a user