debian-mirror-gitlab/.gitlab/ci/preflight.gitlab-ci.yml
2023-04-23 21:23:45 +05:30

14 lines
366 B
YAML

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'