Skip to content

Instantly share code, notes, and snippets.

@jakubstraka
Created December 7, 2018 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakubstraka/3736b2bbdb1a80648fd711b239b52d47 to your computer and use it in GitHub Desktop.
Save jakubstraka/3736b2bbdb1a80648fd711b239b52d47 to your computer and use it in GitHub Desktop.
version: 2
jobs:
deploy-job-staging:
docker:
- image: circleci/ruby
working_directory: ~/repo
steps:
- checkout
- add_ssh_keys:
fingerprints:
- "59:2c:f2:3a:9e:de:c6:c3:cc:08:15:c6:e4:0a:d6:7f"
- run:
name: Install
command: gem install capistrano:3.9.0 capistrano-rvm:0.1.2 capistrano-passenger:0.0.2 capistrano-rails:1.3.0 capistrano-bundler:1.2.0 airbrussh:1.3.0
- run:
name: Deploy
command: cap staging deploy
>>>>>>> origin/master
workflows:
version: 2
build-deploy-staging:
jobs:
- deploy-job-staging:
filters:
branches:
only: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment