sparse-intern-71089
04/06/2023, 10:26 AMmelodic-tomato-39005
04/06/2023, 3:26 PMpowerful-printer-57241
04/06/2023, 4:05 PMRefresh stack on <org>/shared/develop
Refreshing (<org>/develop)
The repository looks like this
Shared
Pulumi.yaml
Pulumi.develop.yaml
Pulumi.demo.yaml
...
And the action looks like this
name: infrastructure-preview
on:
pull_request:
paths:
- 'Shared/**'
jobs:
preview:
name: Preview ${{ matrix.stack }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- stack: shared/develop
dir: ./Shared
- stack: shared/demo
dir: ./Shared
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Preview ${{ matrix.stack }}
uses: pulumi/actions@v4
with:
command: preview
stack-name: mews/${{ matrix.stack }}
work-dir: ${{ matrix.dir }}
diff: true
refresh: true
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
So I think it should pick up the correct YAML config file...melodic-tomato-39005
04/06/2023, 5:22 PMpulumi config --stack <org>/develop
?powerful-printer-57241
04/08/2023, 3:57 PM