featurist / flynn-pr-apps

Review apps on flynn
MIT License
3 stars 0 forks source link

redeploy - update PR #19

Open dereke opened 6 years ago

dereke commented 6 years ago

If a deployment fails and you redeploy it then it should update the PR with the successful deployment. The issue I have is the first deploy failed so there weren't any links to the deployed app.

artemave commented 6 years ago

Hm.. It should update PR status. The code used to handle GH webhook (commit to existing pr): https://github.com/featurist/flynn-pr-apps/blob/02eac909d9434374eb107ab7075f366e9dee0a2c/index.js#L98 is the same code used for "redeploy" button: https://github.com/featurist/flynn-pr-apps/blob/02eac909d9434374eb107ab7075f366e9dee0a2c/index.js#L122