https://pulumi.com logo
#pulumi-deployments
Title
# pulumi-deployments
c

colossal-quill-8119

08/18/2023, 12:14 PM
How does pulumi preview for pulumi deployments work? Do i have to add the github action pr workflow anyway? My org is public but the repo i’m trying to get preview for is private
l

lemon-agent-27707

08/21/2023, 3:26 PM
If you are using pulumi deployments with the github app, you can configure a stack to automatically run a preview when a PR is opened or a new commit is pushed to a PR: https://www.pulumi.com/docs/pulumi-cloud/deployments/reference/#github-push-to-deploy
c

colossal-quill-8119

08/28/2023, 6:46 AM
i tried this but it doesn’t seem to work with path filtering. My infra code is in
infra
dir so i’ve set the path filter as infra but it doesn’t post a github comment when it’s updated
l

lemon-agent-27707

08/28/2023, 1:02 PM
You might need infra/**
c

colossal-quill-8119

08/28/2023, 1:03 PM
Tried it. Works