Closed bent0b0x closed 6 years ago
Here it is: https://paratii-translations-ui.herokuapp.com/
Basics are working; I've shut the app down for now so that I can make the following changes:
dev
OR
https://developer.github.com/v3/git/refs/#create-a-reference
https://developer.github.com/v3/repos/merging/
https://developer.github.com/v3/pulls/#create-a-pull-request
dev
into branchdev
@bent0b0x how much work would it be to make the above flow work? I didn't get to see the app functioning.
Too much work, IMO 😄, and not worth the reward
POEditor allows us to push translations to a github branch via a webhook. Members of the Paratii organization can also do this via the POEditor UI, but it would be great for translators to be able to push their translations to
dev
when they are complete.To do this, we need to hit this webhook:
https://poeditor.com/api/webhooks/github?api_token=TOKEN&id_project=192597&language=pt-br&operation=export_terms_and_translations
My plan is to deploy a very very simple webapp on heroku free that basically just contains a button that can be clicked to trigger this request. It needs to be deployed because we cannot pass around the api token; we need to obfuscate it by proxying the request to a simple BE server.