Skip to content

Add secrets in GitHub Actions secrets

Natalya Mastyaeva edited this page Dec 27, 2023 · 4 revisions

1. Create .env file in the root of your local repository and add it to .gitignore

2. Save variable values in .env file:

image

3. An admin creates a variable in GitHub Actions secrets

(project's Settings -> Secrets and variables -> Actions -> New repository secret)

image

4. Add variables in file config.yml in section "env":

image

5. Use the test:

image