Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
debug 3
  • Loading branch information
ChrisPates committed Jun 1, 2022
1 parent 0f21c21 commit 7e1909b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ phases:
# Install goreleaser
- go install github.com/goreleaser/goreleaser@latest

# Print all environment variables (handy for AWS CodeBuild logs)
- env

pre_build:
commands:
- echo "Start pre_build..."
Expand Down Expand Up @@ -65,15 +68,16 @@ phases:
- ls -la
- echo ${ARTIFACT_S3_BUCKET}
- ls ${TEMPLATE}
- echo ${PACKAGED_TEMPLATE}

# Package our application with AWS SAM
- sam package --template-file ${TEMPLATE} --s3-bucket ${ARTIFACT_S3_BUCKET} --output-template-file ${PACKAGED_TEMPLATE} --debug
- sam package --ouput-template-file ${PACKAGED_TEMPLATE} --s3-bucket ${ARTIFACT_S3_BUCKET} --debug


post_build:
commands:
- echo "Start post_build..."
- ls ${PACKAGED_TEMPLATE}

artifacts:
files:
- ssosync
- buildspec.yml
- packaged.yaml
- .goreleaser.yml

0 comments on commit 7e1909b

Please sign in to comment.