Skip to main content

Tutorial

Environment variables

We know that environment variables are important for your Rails project, so all variables in your (.env.ci || .env.test || .env) file will be set automatically.

But in case your project depends on additional variables not found in any of these files, don't worry we have a solution for that too. There is option to add only in blog.ruby.ci, and import from other platforms. We support import from:

  • GitHub
  • CircleCI
  • Bitbucket
  • Gitlab
  • Jenkins
Add specific variables only for blog.ruby.ci

Go to Project settings page and add your variables/secrets. Here is step by step

Import from other platform

Go to Project settings page and select platform from which you want to import your variables. Here is step by step:

💡
Importing variables from other platforms may require additional information, like tokens, iIDs... for each, there is a link to documentation and/or tooltip how to grab it