configure preview deployments for Pull Requests#11332
Conversation
tyrasd
left a comment
There was a problem hiding this comment.
Thanks, this looks great with the gh deployments integration!
Other than the small question/suggestion below (and @hlfan's suggestion to keep the no-await-in-loop linter rule), it's looking really good. Feel free to swap over to the final deployment URL when you think it's ready to be merged.
|
FYI: I just configured the API key for iD on the OSM sandbox / test instance https://api06.dev.openstreetmap.org/ to allow the use on |
Every PR now gets deployed to netlify, similar to how it works in openstreetmap/id-tagging-schema.
In this repo, we use the GitHub Deployments API instead of posting a PR comment, just to reduce noise and notifications. The link to the deployed version is still shown in the PR page:
Demo: PR #1 and PR #2 (from a fork). It won't work for this PR itself, it'll only work once this is merged