glamorous-kitchen-1478611/05/2021, 9:30 PM
in a shell script being executed by a github action might fail because it cannot see a Pulumi.yaml? I'm echoing out an ls of the path I am feeding to the --cwd flag and it shows what I am expecting (including the Pulumi.yaml file) and the same approach is working just fine if I execute a shell script as normal from the same directory from my local.
pulumi stack select <stackname> --cwd /path/to/pulumi/folder
/root/.pulumi/bin/pulumi stack select _$1_ --cwd _$PULUMI_DIR_
prehistoric-activity-6102311/06/2021, 12:52 AM
glamorous-kitchen-1478611/08/2021, 3:24 PM