How can I specify in `.pulumi/ci.json` to use pro...
# general
h
How can I specify in
.pulumi/ci.json
to use production stack on release tag instead of master branch for Github Actions?
g
Hey @high-morning-17948, can you elaborate a bit? I'm not following.
h
I followed this documentation for creating the deployment pipeline with pulumi and github actions: https://www.pulumi.com/docs/guides/continuous-delivery/github-actions/#branch-mappings It works great when having develop branch for the development pulumi stack and the master branch for the pulumi production stack. I want to have the master branch for the development stack and use the release tag in github for the production stack. I can specify that in the github actions workflows, but couldn't find any documentation in pulumi for the ci.json with releases tag that the pulumi/actions docker uses for creating the stack based on the branch name.
@gentle-diamond-70147
g
Ah, no, looks like we don't support tags in the
ci.json
mapping.
You can specify
PULUMI_STACK
in your GH Action workflow file though. So you could manually map them that way.
h
Thanks for the response. I'll take a look at it and find a way to add it.