Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sophie Daringer
webOps_RAST
Commits
d454dfa6
Commit
d454dfa6
authored
May 17, 2020
by
Admin
Browse files
Add config file
parent
94779bad
Pipeline
#13328
failed with stage
in 7 minutes and 53 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
d454dfa6
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment