I want Seed to comment on my Github PRs with URL f...
# seed
d
I want Seed to comment on my Github PRs with URL for the api-gateway. Can I trigger this using built in stuff in Seed/SST? 🙏
Seed will add a comment with a list of any deployed API endpoints. This is useful for cases where you have a frontend application that needs to be tested against this endpoint.
From: https://seed.run/docs/github-integration.html
f
Hey @Drew, just checking it’s the API url from an SST app right?
d
Yaaa, the URL
The url starts with 'pr123'
f
Yup got it.
Btw, url starts with
pr123
? It’s a custom domain url?
d
Yes, I’d prefer to use our vanity URL instead of the raw ID that aws generates
(I’ll go look closer at what we’re actually doing)
f
So what I have in mind is to show all the stack output in the PR comment (what you see after you run
sst deploy
)
so if this url is listed in the stack output, it will show up in the comments
that should work for u right?
d
Sure, let’s try that! 😃
f
Yup yup i will keep you posted when it’s rolled out.
d
Super
Thanks @Frank !
f
Hey @Drew, just rolled this out for Seed. For existing PR stages, make a new build and the comment should show up in ur GitHub PR.
Give it a try and let me know what you think!
d
Awesome! Thanks again @Frank -- I'll take a look