Skip to content

Commit

Permalink
docs: Added credential configuration
Browse files Browse the repository at this point in the history
Added docs about how to configure aws credentials before deployment
  • Loading branch information
brunocascio authored Jul 11, 2020
1 parent 83ed887 commit d74d3cb
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ This action deploys ECS services using [fabfuel/ecs-deploy](https://github.com/f
## Example usage

```yml
uses: brunocascio/[email protected]
with:
cluster: theClusterName
service: theServiceName
task: theTaskDefinitionName
container: theContainerName
envfile: /path/to/your/envfile (optionally)
timeout: 720 (optionally, default 300)
```

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Deploy to ecs
uses: brunocascio/[email protected]
with:
cluster: theClusterName
service: theServiceName
task: theTaskDefinitionName
container: theContainerName
envfile: /path/to/your/envfile (optionally)
timeout: 720 (optionally, default 300)
```

0 comments on commit d74d3cb

Please sign in to comment.