课程: Coding Exercises: GitHub

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Use hidden secrets in projects

Use hidden secrets in projects

(electronic music) - [Ray] When working with projects, it's really important to be able to store a certain IDs, variables and special passwords securely. Now for this challenge, I want you to store a secret in GitHub and retrieve it using GitHub actions. I'll give you a couple of seconds to pause the video and think about how you may have solved something like this. (upbeat electronic music) Now to store a secret in GitHub, you'll need to go to your account. Then you'll need to find a repository that you want to add a secret to. I'm using this Parallax repository, and it's been cleaned up from the previous video. And here, click on settings, and then look for the section called secrets. You can see that I've already got a secret right here. To create it, I can just hit the new repository secret. Give the secret a name. I've already called mine Google API key. And then paste your API or your secret right here into…

内容