Skip to content

Secret variavel #59764

Answered by DSDmark
RoqueSPP asked this question in Feed
Jun 30, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @RoqueSPP,

First Go to your repo in which you want to add secret. After that, click on repo settings like this:

After open the repo setting. It looks like this:

Now in secret and variable section click on action option then add your secret by clicking on new repository secret.

Now you are done, Now you can use these secret in your GitHub action like this:

And also,

most of time this above setup work. but, it is the basic implementation of how you can add secret in github action. but, it is alos depent upon use case. So, i suggest you to at least read offical docs for clearty: variables and encrypted-secrets

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RoqueSPP
Comment options

@RoqueSPP
Comment options

@DSDmark
Comment options

Answer selected by RoqueSPP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Feed
2 participants