pipelines: default: - step: name: Publicar gema image: ruby:2.7 script: - echo "Instalando dependencias" - bundle install - echo "Construyendo gema" - gem build hello_world_hn.gemspec - echo "Publicando gema" - GEM_HOST_API_KEY=$RUBYGEMS_API_KEY gem push hello_world_hn-*.gem --host https://rubygems.org/