diff --git a/README.md b/README.md index 591fd40..3d8c7c0 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,12 @@ ## Description -Run an AWS ECS Fargate task and execute a custom commands. See the log output of the commands. +Run an AWS ECS Fargate task and execute a custom command. See the log output of the command that is executed. ### Details -This action makes it possible to run an AWS ECS Fargate task and execute a custom command. If the task definition -defines logs to CloudWatch this action will also tail the output of container, providing instant feedback inside +This action makes it possible to run an AWS ECS Fargate task and execute custom commands. If the task definition +is configured to log to CloudWatch, this action will try to tail the output of container, providing instant feedback inside the GitHub Workflow. This action is great for executing migrations or other pre/post deployment steps for ECS Fargate applications. @@ -19,7 +19,7 @@ This action is great for executing migrations or other pre/post deployment steps ``` yaml - name: Execute migrations and seeders id: run-task - uses: geekcell/github-action-aws-ecs-run-task@v1.0.0 + uses: geekcell/github-action-aws-ecs-run-task@v3.0.0 with: cluster: application-cluster task-definition: application-task-def @@ -48,7 +48,7 @@ This action is great for executing migrations or other pre/post deployment steps ``` yaml - name: Run migration container id: run-task - uses: geekcell/github-action-aws-ecs-run-task@v1.0.0 + uses: geekcell/github-action-aws-ecs-run-task@v3.0.0 with: cluster: application-cluster task-definition: application-task-def @@ -62,7 +62,7 @@ You can use the backslash character `\` to append multiple lines into a single l commands to execute and want to keep the YAML file readable. Otherwise, each line will be passed to the AWS ECS Fargate task as a separate argument. -> **Note:** Make sure to use the `|` character to make sure the YAML parser interprets the value as a multiline string. +> **Note:** Make sure to use the `|` character so the YAML parser interprets the value as a multiline string. > You can read more about this in the [YAML documentation](https://yaml.org/spec/1.2/spec.html#id2794534). For example: @@ -111,5 +111,5 @@ Will pass the following command to the container on the AWS ECS Fargate task: ## Runs -This action is a `node16` action. +This action is a `node20` action. diff --git a/package-lock.json b/package-lock.json index 678924d..9953262 100644 --- a/package-lock.json +++ b/package-lock.json @@ -641,9 +641,9 @@ } }, "node_modules/@babel/traverse": { - "version": "7.23.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.0.tgz", - "integrity": "sha512-t/QaEvyIoIkwzpiZ7aoSKK8kObQYeF7T2v+dazAYCb8SXtp58zEVkWW7zAnju8FNKNdr4ScAOEDmMItbyOmEYw==", + "version": "7.23.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", + "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", "dev": true, "dependencies": { "@babel/code-frame": "^7.22.13",