glamorous-kitchen-14786
11/05/2021, 9:30 PMpulumi stack select <stackname> --cwd /path/to/pulumi/folder
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.
ls _$PULUMI_DIR_
/root/.pulumi/bin/pulumi stack select _$1_ --cwd _$PULUMI_DIR_
prehistoric-activity-61023
11/06/2021, 12:52 AM$PULUMI_DIR
glamorous-kitchen-14786
11/08/2021, 3:24 PM