debian-mirror-gitlab/.gitlab/ci/preflight.gitlab-ci.yml

15 lines
366 B
YAML
Raw Normal View History

2023-04-23 21:23:45 +05:30
rails-production-environment:
extends:
- .default-before_script
- .production
- .ruby-cache
- .setup:rules:rails-production-environment
- .use-pg12
stage: preflight
variables:
BUNDLE_WITHOUT: "development:test"
BUNDLE_WITH: "production"
needs: []
script:
- bundle exec rails runner --environment=production 'puts Rails.env'