ci: fix manual review app deployment instructions#808
Conversation
abulte
left a comment
There was a problem hiding this comment.
I rather like the pattern with the PR number in the URL, and we've been using it for two years. Plus, this will cause mayhem with branch names like fix/xxx.
If we really want to avoid the PR number as input, we could try to get it from the GitHub API? I did it in reverse here https://github.com/opendatateam/udata-front-kit/pull/802/files#diff-3daa2cb95537798352dc8a58b25d016bdacee39718012369b677c0f04a99aa70R35.
Finally, we may not need to overoptimize the inputs in this workflow since #802 will let us deploy only with the site id.
Sure, we can find a way to manage that properly from the PR number |
abulte
left a comment
There was a problem hiding this comment.
This won't remove the branch from the input UI on GitHub, right? Feels weird to ignore a native parameter that works as designed... Like I said previously, this feels a bit over optimized and #802 will simplify the workflow anyway.
Yes it seems the branch selector in the input UI on GitHub is native and can't be removed. |
To be clear, I think the current state is fine. It's a bit painful to input both branch and PR number but I can live with it, and anyway I'll use #802 when it's merged. Makes more sense anyway, since the comment "knows" on which PR we're working. |
6f967c8 to
b5a84df
Compare
Closes #807