DEV Community

radin reth
radin reth

Posted on

1 1

Travis ci with Secure Environment variable

Install travis

gem install travis
travis login --pro --github-token {GITHUBTOKEN}
Enter fullscreen mode Exit fullscreen mode

Generate GITHUBTOKEN goto:
https://github.com/settings/tokens

For private projects:

  • user:email (read-only)
  • read:org (read-only)
  • repo

For open source projects:

  • user:email (read-only)
  • read:org (read-only)
  • repo_deployment
  • repo:status
  • write:repo_hook
travis encrypt SENTRY_DSN="get from sentry" --add
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay