Sha256: 1f6a10fa85fac47127590fcb37bd8b823757e8db0dc09cb86329be49ae7b4173

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

---
title: codebuild deploy
reference: true
---

## Usage

    codebuild deploy

## Description

Deploy codebuild project.

## Examples

    cb deploy PROJECT_NAME # explicitly specify project-name
    cb deploy # infers the CodeBuild name from the parent folder

It is useful to just see the generated CloudFormation template with `--noop` mode:

    cb deploy PROJECT_NAME --noop # see generated CloudFormation template

## Types

By default, the codebuild tool looks up files in the `.codebuild` folder.  Example:

    .codebuild/buildspec.yml
    .codebuild/project.rb
    .codebuild/role.rb

### Examples

    cb deploy PROJECT_NAME --type deploy

This will look up buildspec.yml, project.rb, and role.rb files in the `.codebuild/deploy` folder. So:

    .codebuild/deploy/buildspec.yml
    .codebuild/deploy/project.rb
    .codebuild/deploy/role.rb

Likewise `cb deploy PROJECT_NAME --type unit` would result in:

    .codebuild/unit/buildspec.yml
    .codebuild/unit/project.rb
    .codebuild/unit/role.rb


## Options

```
[--type=TYPE]                # folder to use within .codebuild folder for different build types
[--stack-name=STACK_NAME]    # Override the generated stack name. If you use this you must always specify it
[--wait], [--no-wait]        # Wait for operation to complete
                             # Default: true
[--verbose], [--no-verbose]  
[--noop], [--no-noop]        
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
codebuild-0.6.1 docs/_reference/codebuild-deploy.md
codebuild-0.6.0 docs/_reference/codebuild-deploy.md