Using GitHub Secrets
- 09 Oct 2023
-
DarkLight
-
PDF
Using GitHub Secrets
- Updated on 09 Oct 2023
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Github Actions enables the use of GitHub Secrets to encrypt variables. This practice is recommended if there is sensitive information you wish to hide so it is not visible within the code files.
To use GitHub Secrets, please follow these instructions:
- Select the settings tab on your target repository.
- Select the secrets and variables tab under security options.
- Click the "new repository secret" option on the top right of the screen.
- Enter the required fields for YOUR_SECRET_NAME.
- For SECRET, enter your desired variable.
- Click "Add Secret".
For more information about Github Action secrets, please view Github Secrets.
For more information about Github Actions variables, please view variables.
Was this article helpful?