Commit d454dfa6 authored by Admin's avatar Admin
Browse files

Add config file

parent 94779bad
Pipeline #13328 failed with stage
in 7 minutes and 53 seconds
stages:
# - test
- deploy
# test:
# stage: test
# tags:
# - ruby
# only:
# - master
# script:
# - apt-get update -qy
# - apt-get install -y nodejs
# - gem install bundler:2.1.4
# - bundle install
# - yarn install --check-files
# - rails db:migrate
# - rails test
deploy:
stage: deploy
tags:
- ruby
environment:
name: production
only:
- master
script:
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
- ssh-add <(echo -e "$PRIVATE_KEY")
- gem install capistrano
- gem install bundler:2.1.4
- bundle install
- bundle exec cap production deploy
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment