Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: truncate and remove chars from version desc. before deploy (#65)
* feat: truncate and remove chars from version desc. before deploy Currently, we get the following error when we attempt to deploy to AWS EB with certain commit messages: ``` Deployment failed: Error: Status: 403. Code: SignatureDoesNotMatch, Message: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details. ``` This is not because our access key is wrong, but because there are certain characters in our commit message which are not dealt with properly by the beanstalk-deploy package. We know that the following characters have produced problems for us: ``` ( ) ' ``` These are due to encoding issues on the original beanstalk-deploy library. Rather than wait for a fix from the package author, we can first truncate the message, since the title is in the first few words, to lower the chance of a special character, and then we can replace these characters ourselves in the deploy step when setting the version description. * chore: set DEV_BRANCH to be staging-dev Co-authored-by: Jie Hao Kwa <[email protected]>
- Loading branch information