What should I do If I don't have Environments? #55
-
As a general user, I don't have the following feature of github in private repo. So, How should I set the 7 secrets for CI/CD? I have only Deploy Keys Is it suitable for spin? |
Beta Was this translation helpful? Give feedback.
Answered by
jaydrogers
Jan 5, 2024
Replies: 1 comment
-
Hey @takielias, Deploy keys are used for read-only SSH access to the repository. Try setting Secrets and Variables below deploy keys. The only annoying part is $MY_VARIABLE can't be scoped on a per environment basis. This means you'll have to have $PRODUCTION_MY_VARIABLE. You'll also have to remove any |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jaydrogers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @takielias,
Deploy keys are used for read-only SSH access to the repository. Try setting Secrets and Variables below deploy keys.
The only annoying part is $MY_VARIABLE can't be scoped on a per environment basis. This means you'll have to have $PRODUCTION_MY_VARIABLE. You'll also have to remove any
environment:
references in the GitHub Actions file.