Feature request: Support for preview comment.
Would love to get support for preview comment after successful deployment. Something like this https://github.com/BetaHuhn/deploy-to-vercel-action for vercel.
Or maybe like Cloudflare Pages?
example: https://github.com/NullVoxPopuli/ember-resources/pull/529

Yes please! This feature would be awesome. Or even a way for us to construct that message via exported values. This Action currently takes inputs but does not save any outputs.
I tried to manually construct this message by saving the .stdout of this Action but no luck. This feature would be greatly appreciated
Came here to request this feature. Even some output from this action would be awesome so we could create our own comments
Hate to be "that guy", but can we get a bumpbump on this bad boy? Kinda makes this action worthless for PR deploys at this point.
Also, seems related to #90 #81
Hey @JacobMGEvans can you provide more info why this issue has been closed ?
I closed them all (https://github.com/cloudflare/wrangler-action/discussions/122), this sounds like a great idea. Will revisit it, thanks for the follow up!
If it Pages related I suggest this comment as well to help https://github.com/cloudflare/wrangler-action/issues/65#issuecomment-1670136345
It would be great if wrangler action would provide the same bot functionality as shown by the OP.
I did this myself like so:
- https://github.com/unicode-org/cldr/blob/9597d2390dfe66b8a892d7ec60543c3e6007c6f3/.github/workflows/site.yml#L49-L58
- PR: https://github.com/unicode-org/cldr/pull/3989
Hope it helps.
This is sweet, thanks @srl295 The missing piece, though, is having an alias with the branch name, which seems to be totally gone when the static artifacts are pushed via wrangler and not via the direct repo integration
This is sweet, thanks @srl295 The missing piece, though, is having an alias with the branch name, which seems to be totally gone when the static artifacts are pushed via wrangler and not via the direct repo integration
I'm not 24 hours into my integration at this point, so.. I don't quite follow what you mean. You want "mysite-mybranch.pages.dev" or something? I don't quite see how that's part of this issue - that sounds like an option on the upload side?
You want "mysite-mybranch.pages.dev" or something? I don't quite see how that's part of this issue - that sounds like an option on the upload side?
Yes, this is about Branch Prefiew URL as shown in https://github.com/cloudflare/wrangler-action/issues/77#issuecomment-1153183792
I agree, it might be considered not related to the request of having ability for an action to post a comment, if we only consider comment to have a hash-based preview URL that is visible in the action output.
the current action produces a single URL as output. So it seems like something else is needed if you want a different URL. Maybe you should file a separate issue for it?
I'm also looking for this feature. I had no choice but to write my own workflow, so there's no problem, but if it's officially supported, that would be best.
still with no update here? for almost 3 years?..
I just added an action to easily view the preview url using the same format as @namidapoo. https://github.com/marketplace/actions/comment-cloudflare-preview-url-on-pr Someone wants to help me to test if it's easy to use for anyone?