Created
December 7, 2018 11:55
-
-
Save jakubstraka/3736b2bbdb1a80648fd711b239b52d47 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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