- To create a github secret, navigate to the main page of your repository on GitHub
- After successfully navigating to the main page, click on the settings button on your repository
- You will be redirected towards your repository settings and inside the settings page click on the Secrets and then click Actions
- Then click New Repository Secret
- Then Type a name for your secret in the Name input box
Note: Spaces are not allowed in the name of secrets
- Enter the value of your secret inside the Secret* box
- After successfully entering all the details, click on Add Secret and your secret will be added successfully