Enables you to run Capistrano deployments from your pipeline.
-
stage
: Required. The name of the stage to execute during deployment. -
private_key
: Required. The private key to use during deployment.
Resource configuration for production environment:
resource_types:
- name: capistrano
type: docker-image
source:
repository: shyxormz/capistrano-resource
tag: latest
resources:
- name: production-deployment
type: capistrano
source:
stage: production
private_key: |
-----BEGIN RSA PRIVATE KEY-----
MIISKAIBAAKCBAEAyx0Gxg1Ph2MqLb5ogJHq0jGSDqgGqiLOyK771l5PhbAUYDXc
<Lots more text>
RBBTrpwGkMUvgGExiqEGNPzut9v9vTIczSifCzgD7vLra9NNv67J2Kt7zOM=
-----END RSA PRIVATE KEY-----
Deploying to production:
- get: source-code
- put: production-deployment
params:
path: source-code
path
: Required. The path to the directory that contains the Capistrano configuration.