Skip to content

Commit

Permalink
adding comments to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gagoar committed May 26, 2020
1 parent 37635ad commit 760580e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ This action allows you to synchronously invoke a Lambda function and get the res

## Table of contents

- [Input parameters](#input-parameters)
- [Credentials](#credentials)
- [Invocation](#invocation)
- [Output](#output)
- [Examples](#examples)
- [Basic example](#basic-example)
- [Using output](#using-output)
- [Specifying alias/version](#specifying-aliasversion)
- [Handling logs](#handling-logs)
- [Input parameters](#input-parameters)
- [Credentials](#credentials)
- [Invocation](#invocation)
- [Output](#output)
- [Examples](#examples)
- [Basic example](#basic-example)
- [Using output](#using-output)
- [Specifying alias/version](#specifying-aliasversion)
- [Handling logs](#handling-logs)

<hr>

Expand Down Expand Up @@ -85,7 +85,7 @@ This step invokes a Lambda function without regard for the invocation output:

```yaml
- name: Invoke foobarFunction Lambda
uses: gagoar/invoke-aws-lambda@master
uses: gagoar/invoke-aws-lambda@master # or the latest version.
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -100,7 +100,7 @@ These steps process the response payload by using step outputs:
```yaml
- name: Invoke foobarFunction Lambda
id: foobar
uses: gagoar/invoke-aws-lambda@master
uses: gagoar/invoke-aws-lambda@master # or the latest version.
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -119,7 +119,7 @@ This step invokes a Lambda function with the `someAlias` alias:

```yaml
- name: Invoke foobarFunction Lambda
uses: gagoar/invoke-aws-lambda@master
uses: gagoar/invoke-aws-lambda@master # or the latest version.
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -144,7 +144,7 @@ These steps process logs returned from the invocation:
```yaml
- name: Invoke foobarFunction Lambda
id: foobar
uses: gagoar/invoke-aws-lambda@master
uses: gagoar/invoke-aws-lambda@master # or the latest version.
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand All @@ -153,4 +153,4 @@ These steps process logs returned from the invocation:
Payload: '{ "myParameter": false }'
- name: Store tail logs to file
run: echo "${{ fromJSON(steps.foobar.outputs.response).LogResult }}" > invocation-logs.json
```
```

0 comments on commit 760580e

Please sign in to comment.