Drone plugins > Capistrano
capistrano.png

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

    stringrequired

    Private SSH deploy key

    Secret recommended

    Default: none

  • capistrano_public_key

    stringrequired

    Public SSH deploy key

    Secret recommended

    Default: none

  • tasks

    stringrequired

    The Capistrano tasks to run

    Default: none