Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.14 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.14 KB

sam-codebuild-auto-build

This application automatically triggers a CodeBuild project everytime a pull request is created or updated in CodeCommit. It also comments the build details in the pull request for easier navigation.

This project is configured to use TypeScript, ESLint, and Prettier.

Deploy the sample application

To use the SAM CLI, you need the following tools.

Build the TypeScript code first by going to the app directory and running the build script:

cd app
npm run build

Go back to the project's root directory.

Build and deploy the application with the following commands:

sam build
sam deploy --guided

The first command will build the source of your application. The second command will package and deploy your application to AWS, with a series of prompts.