GitHub Actions Environment secrets vs Repository secrets All In One
Environments, environment secrets, and environment protection rules are available in public repositories
for all products.
Environments are used to describe a general deployment target like production
, staging
, or development
.
Note: You can only configure environments for public repositories
.
If you convert a repository from public to private, any configured protection rules or environment secrets will be ignored
, and you will not
be able to configure any environments.
If you convert your repository back to public, you will have access to any previously
configured protection rules and environment secrets.
Repository secrets
https://github.com/xgqfrms/xgqfrms/settings/secrets/actions
https://github.com/xgqfrms/xgqfrms/settings/secrets/actions/new
Environment secrets
https://github.com/xgqfrms/xgqfrms/settings/environments
https://github.com/xgqfrms/xgqfrms/settings/environments/new
Dependabot secrets
https://github.com/xgqfrms/xgqfrms/settings/secrets/dependabot
https://github.com/xgqfrms/xgqfrms/settings/secrets/dependabot/new
demo
refs
©xgqfrms 2012-2020
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载
标签:GitHub,Repository,secrets,environments,github,https,xgqfrms,com From: https://www.cnblogs.com/xgqfrms/p/16598876.html