-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Added credential configuration
Added docs about how to configure aws credentials before deployment
- Loading branch information
1 parent
83ed887
commit d74d3cb
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
``` |