Drone plugins > Capistrano
Capistrano
by glaszig
The Capistrano plugin deploys applications via the Capistrano ruby gem.
Example
kind: pipeline
name: default
steps:
- name: deploy production
image: glaszig/drone-capistrano:2.7.4
settings:
tasks: production deploy deploy:restart
private_key:
from_secret: production_private_key
public_key:
from_secret: production_public_key
environment:
BUNDLE_PATH: vendor/bundle
when:
ref:
- refs/tags/production-*
Properties
capistrano_private_key
stringrequiredPrivate SSH deploy key
Secret recommendedDefault: none
capistrano_public_key
stringrequiredPublic SSH deploy key
Secret recommendedDefault: none
tasks
stringrequiredThe Capistrano tasks to run
Default: none