{"id":16209779,"url":"https://github.com/joshdholtz/dotenv_to_ci","last_synced_at":"2025-03-19T08:31:08.622Z","repository":{"id":62557470,"uuid":"188131203","full_name":"joshdholtz/dotenv_to_ci","owner":"joshdholtz","description":"The laziest way to transfer environment variables from a .env file to a CI provider 👋","archived":false,"fork":false,"pushed_at":"2019-05-23T02:37:13.000Z","size":202,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T16:59:19.828Z","etag":null,"topics":["ci","circleci"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshdholtz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-23T00:15:23.000Z","updated_at":"2020-03-13T11:59:56.000Z","dependencies_parsed_at":"2022-11-03T06:15:46.831Z","dependency_job_id":null,"html_url":"https://github.com/joshdholtz/dotenv_to_ci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdholtz%2Fdotenv_to_ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdholtz%2Fdotenv_to_ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdholtz%2Fdotenv_to_ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdholtz%2Fdotenv_to_ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshdholtz","download_url":"https://codeload.github.com/joshdholtz/dotenv_to_ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976478,"owners_count":20377691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci","circleci"],"created_at":"2024-10-10T10:32:43.470Z","updated_at":"2025-03-19T08:31:08.231Z","avatar_url":"https://github.com/joshdholtz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotenv ➡️ ci \n\n[![Twitter: @joshdholtz](https://img.shields.io/badge/contact-@joshdholtz-blue.svg?style=flat)](https://twitter.com/joshdholtz)\n[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/LICENSE)\n[![Gem](https://img.shields.io/gem/v/dotenv_to_ci.svg?style=flat)](https://rubygems.org/gems/dotenv_to_ci)\n\nThe laziest way to transfer environment variables from a `.env` file to a CI provider 👋\n\n## Example 🤯\nRuns `circleci` to upload the contents of `.env.test` to the `joshdholtz/fastlane-circleci-test` GitHub project on [CircleCI](http://circleci.com/) 🚀\n\n```sh\n$ dotenv_to_ci circleci -V github -u joshdholtz -p \"fastlane-circleci-test\" -d \".env.test\" --verbose\nSetting key=DISABLE_HOOKS} value=true\nSetting key=FASTLANE_TEAM_ID value=12345321234\nSetting key=AWS_SNS_ACCESS_KEY value=less secrety but you kow\nSetting key=AWS_SNS_SECRET_ACCESS_KEY value=sshhhhhh\nSetting key=AWS_SNS_REGION value=us-east-1\nSetting key=AWS_SNS_PLATFORM_GCM_API_KEY value=a key you dont need to see\nSetting key=SIGH_APP_IDENTIFIER value=com.app.ios\nSetting key=SIGH_USERNAME value=dontenable2fa@email.com\nSetting key=SIGH_TEAM_ID value=324324324\nSetting key=CORDOVA_IOS_TEAM_ID value=324324324\nSetting key=FASTLANE_PASSWORD value=fastlaneisthebest\nSetting key=FL_HOCKEY_API_TOKEN value=riphockeyiwillmissyou\nSetting key=FL_HOCKEY_NOTES_TYPE value=1\nSuccessfully added: DISABLE_HOOKS, FASTLANE_TEAM_ID, AWS_SNS_ACCESS_KEY, AWS_SNS_SECRET_ACCESS_KEY, AWS_SNS_REGION, AWS_SNS_PLATFORM_GCM_API_KEY, SIGH_APP_IDENTIFIER, SIGH_USERNAME, SIGH_TEAM_ID, CORDOVA_IOS_TEAM_ID, FASTLANE_PASSWORD, FL_HOCKEY_API_TOKEN, FL_HOCKEY_NOTES_TYPE\n```\n\nAnd the results on [CircleCI](http://circleci.com/)! 🎊🎉\n\n![CircleCI Screenshot](https://raw.githubusercontent.com/joshdholtz/dotenv_to_ci/screenshots/dotenv_to_ci_circleci.png)\n\n## Installation 🔨 \n\n```sh\n$ gem install dotenv_to_ci\n```\n\nor with [Bundler](https://bundler.io/)\n\n```rb\nsource \"https://rubygems.org\"\ngem \"dotenv_to_ci\"\n```\n\n## Supported CIs 💪\n\n- [CircleCI](http://circleci.com/)\n\n#### WIP\n- [Travis CI](https://travis-ci.org/)\n- Any others you all may want \n\n## Options 🤔 \n\n```sh\n$ dotenv_to_ci --help\n  NAME:\n    dotenv_to_ci\n  DESCRIPTION:\n    Set environment variables on your CI provider\n  COMMANDS:\n    circleci Set environment variables on CircleCI\n    help     Display global or [command] help documentation\n  GLOBAL OPTIONS:\n    --verbose\n    -h, --help\n        Display help documentation\n    -v, --version\n        Display version information\n    -t, --trace\n        Display backtrace when an error occurs\n```\n\n### CircleCI\n```sh\n$ dotenv_to_ci circleci --help\n  NAME:\n    circleci\n  SYNOPSIS:\n    dotenv_to_ci circleci\n  DESCRIPTION:\n    Set environment variables on CircleCI\n  OPTIONS:\n    -d, --dotenvs STRING\n        Dotenv file name(s) (ex: .env, .env.secret)\n    -T, --token STRING\n        API token\n    -V, --vcs STRING\n        VCS (allowed: github, bitbucket)\n    -u, --username STRING\n        Username\n    -p, --project STRING\n        Project\n```\n\n## Author\n\nJosh Holtz, me@joshholtz.com, [@joshdholtz](https://twitter.com/joshdholtz)\n\n## License\n\n_dotent_to_ci_ is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdholtz%2Fdotenv_to_ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdholtz%2Fdotenv_to_ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdholtz%2Fdotenv_to_ci/lists"}