5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-17 04:40:48 +00:00

feat: poder pasar la versión de ruby y gems por env

This commit is contained in:
f 2023-05-20 14:25:29 -03:00
parent e0ed377940
commit c12a6e1535
2 changed files with 5 additions and 3 deletions

View file

@ -51,6 +51,9 @@ pipeline:
- "git add public && git commit -m \"ci: assets [skip ci]\""
- "git pull upstream ${CI_COMMIT_BRANCH}"
- "git push upstream ${CI_COMMIT_BRANCH}"
environment:
- "RUBY_VERSION=${RUBY_VERSION}"
- "GEMS_SOURCE=https://14.3.alpine.gems.sutty.nl"
secrets:
- "SSH_KEY"
- "KNOWN_HOSTS"

View file

@ -1,9 +1,8 @@
# frozen_string_literal: true
puts 'Usa haini.sh para generar un entorno de trabajo reproducible'
source 'https://gems.sutty.nl'
source 'https://17.3.alpine.gems.sutty.nl'
ruby '~> 2.7'
ruby "~> #{ENV.fetch('RUBY_VERSION', '3.1')}"
gem 'dotenv-rails', require: 'dotenv/rails-now'