Skip to content

Set enviroment variable for solution via Github action #494

Answered by rpothin
LeonardSchwenk asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LeonardSchwenk,

I hope you are doing well.
I think what you are looking for is described in the following Microsoft documentation page: Pre-populate connection references and environment variables for automated deployments

Inside the import-solution GitHub action, you can then set the "deployment-settings-file" input with the path of the relevant deployment settings file (the one for the targeted environment) in your repository. And don't forget to set the "use-deployment-settings-file" input to "true" 😉

I hope this will help you.
Have a great day.

Raph

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LeonardSchwenk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants