Auto-Deploy Pull Requests
![Frank](https://d33wubrfki0l68.cloudfront.net/c77aba180e2716bd3e61878f99b2b46c4196e8b8/4f735/assets/profiles/frank.png)
Seed now supports auto-deploying pull requests. Pull request stages allow you to preview changes before merging them.
Here is what happens when a new pull request is submitted to your project repo.
- Seed will check if the branch the pull request is submitted to is currently being deployed to a stage.
- If the branch is being tracked; then a new stage is created for the submitted pull request.
- The new PR stage will be deployed using
--stage=$STAGE
. Where$STAGE
is the stage that is deployed using the branch from above. You can learn more about stages in Serveress here. - All the secrets from the stage is applied to the new PR stage.
- Any new commits to the PR will be auto-deployed.
This gives you the ability to preview pull requests before merging them. You can read more about working with pull requests in our docs.
Having trouble configuring a CI/CD pipeline for your Serverless apps? Let Seed do it for you!
Learn More