Travis ci with Secure Environment variable
radin reth

radin reth @radinreth

About: Open for Learning <Learning /> Workplace is a second home. Everyone is your workplace are also your family members Respect them!

Location:
Phnom Penh, Cambodia
Joined:
Jan 7, 2021

Travis ci with Secure Environment variable

Publish Date: Sep 1 '21
2 0

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

Comments 0 total

    Add comment