I have an issue with Github Actions, somehow it do...
# general
w
I have an issue with Github Actions, somehow it doesn't find the stack:
Copy code
Run pulumi/actions@v3
  with:
    command: preview
    stack-name: live
    work-dir: ./
    comment-on-pr: false
    github-token: ***
    parallel: 2147483647
    target-dependents: false
    refresh: false
    upsert: false
  env:
    PULUMI_ACCESS_TOKEN: ***
Error: code: 255
 stdout: 
 stderr: error: no stack named 'live' found

 err?:
The correct stack-name is
MyOrgName/live
and not
live
. However that is the name I put into the workflow:
Copy code
- uses: pulumi/actions@v3
        with:
          command: up
          stack-name: MyOrgName/live
        env:
          PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
Running
pulumi preview --stack MyOrgName/live
locally works fine. Any ideas what I may be doing wrong?
nvm, sometimes when you post it something somewhere it triggers the right thought process and I foudn the issue
😂 1
I have got two workflows, the workflow was referencing just
live
and not
MyOrgName/live
.
b
👌
l
What you you mean "sometimes"? 😄