免费学习该课程!
今天就开通帐号,24,600 门业界名师课程任您挑!
Use a secret key on your projects
- [Instructor] There are times when projects require special keys that cannot reside with your repositories. There's a few ways that you can handle that. Now, GitHub gives you the ability to create secrets that will be stored with each repository. Let's click on Settings and then click on Secrets. Let's add a new secret right here. And here, you're going to give the secret a name. Now this has to be a name that has underscores, no spaces, or even hyphens. So we'll create something called a dark_sky_secret here. And then you want to paste in a value, so for this I'm going to go to my developer account for Dark Sky and I'm going to copy this key and go back into my Secrets tab and paste the value here. I'm going to hit Add Secret and this will create a new secret that will be available to all contributors that are using actions in our project, but not let them see what that original hash is, so there's no way of actually…
内容
-
-
-
(已锁定)
Optimize your profile1 分钟 30 秒
-
(已锁定)
Add descriptions URLS and tags1 分钟 2 秒
-
Turn a repository into a template1 分钟 23 秒
-
(已锁定)
Add Collaborators to a repository1 分钟 27 秒
-
(已锁定)
Use a secret key on your projects1 分钟 37 秒
-
(已锁定)
Protect your repo branches1 分钟 41 秒
-
(已锁定)
Get maximum contribution credits1 分钟 28 秒
-
(已锁定)
-
-
-
-