Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 811 Bytes

File metadata and controls

31 lines (28 loc) · 811 Bytes

About this repository

For running codenize.tools on circleCI
DockerImage

How to Use for CircleCI

version: 2
jobs:
  build:
    docker:
      - image: gunosy/circleci_codenize_tools:latest
    working_directory: ~/<your-repository-name>
    environment:
      AWS_REGION: us-east-1
    steps:
      - checkout
      - run:
          name: miam dry-run
          command: |
            miam --dry-run --apply -f IAMfile --region ${AWS_REGION} --no-color --no-progress
      - deploy:
          name: miam deploy
          command: |
            if [ "${CIRCLE_BRANCH}" == "master" ]; then
              miam --apply -f IAMfile --region ${AWS_REGION} --no-color --no-progress
            fi

Notice

CircleCI requires AWS permissions.