Drone 插件市场 > Capistrano

Capistrano 插件通过 Capistrano ruby gem 部署应用程序。

YAML 配置示例

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-*

字段属性说明