This image is pre-configured Capistrano https://github.com/capistrano/capistrano built mainly for use with Symfony applications.
- capistrano
- capistrano-composer
- capistrano-copy-files
- capistrano-file-permissions
- capistrano-npm
- capistrano-safe-deploy-to
- capistrano-symfony -v 1
- slackistrano
- Sentry Client
- Use this image as a base image to run your pipeline in favourite pipeline provider configuration.
- Put
cap <env> <command>
into the script part of the config - Make sure your pipeline executor has correct permissions to deploy to your servers (private keys, firewalls...)
pipelines:
branches:
develop:
- step:
name: Deploy to Staging Environment
image: crazymuffin/capistrano
deployment: Staging
script:
- cap staging deploy
deploy_staging:
image: crazymuffin/capistrano
environment: staging
stage: deploy
script:
- cap staging deploy
only:
- develop