Hi Anyone know how I can create a stack from GitH...
# getting-started
s
Hi Anyone know how I can create a stack from GitHub Actions? I can only see commands for "up", "refresh"... No stack creation options 🤔
b
the action will automatically create a stack from an
up
if it doesn’t exist: https://github.com/pulumi/actions/blob/master/src/main.ts#L47
w
Might need to provide the
upsert
option per the README https://github.com/pulumi/actions#configuration
s
Thanks for the ideas Unfortunately neither seem to work 🤔 Using the "up" command throws an error that the stack can't be found
And "upsert" throws an error that it's not an expected command
w
upsert
is it’s own property. So the action would have both
Copy code
command: "up"
upsert: "true"
@swift-apple-26877 ^
s
Worked perfectly! Thanks you so much @witty-candle-66007 💪 And thanks for your suggestions @billowy-army-68599 @worried-rain-74420
w
Any time! 🙂