Skip to content

Silence error if quick deploy is already enabled - #7

Merged
mpociot merged 2 commits into
beyondcode:masterfrom
bakerkretzmar:check-quick-deploy-before-setting
Apr 12, 2021
Merged

Silence error if quick deploy is already enabled#7
mpociot merged 2 commits into
beyondcode:masterfrom
bakerkretzmar:check-quick-deploy-before-setting

Conversation

@bakerkretzmar

Copy link
Copy Markdown
Contributor

This PR catches and silences an error returned by the Forge SDK after calling forge config:push if a quick deploy webhook already exists for the site.

Yesterday this threw a FailedActionException because the error actually comes from GitHub, I emailed the Forge team about it and they're going to handle the error themselves. It looks like they may have already begun working on this since it now throws a ValidationException. @jbrooksuk if you have a minute, do you know if this might change again? If it will, this PR should probably wait until that's finalized.

Unrelated: fixed the wording of the deployment script warning message.

@mpociot
mpociot merged commit b94b508 into beyondcode:master Apr 12, 2021
@bakerkretzmar
bakerkretzmar deleted the check-quick-deploy-before-setting branch April 12, 2021 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants