Skip to content

Commit 0a0b8e5

Browse files
J. Davilaclareliguori
authored andcommitted
docs: add code block tags
1 parent b77dc22 commit 0a0b8e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Add the following step to your workflow:
1717
1818
For example, you can use this action with the AWS CLI available in [GitHub's hosted virtual environments](https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners).
1919
20-
```
20+
```yaml
2121
jobs:
2222
deploy:
2323
name: Upload to Amazon S3
@@ -74,7 +74,7 @@ In this example, the secret `AWS_ROLE_TO_ASSUME` contains a string like `arn:aws
7474
### Permissions
7575

7676
In order to assume a role, the IAM user for the static credentials must have the following permissions:
77-
```
77+
```json
7878
{
7979
"Version": "2012-10-17",
8080
"Statement": [
@@ -91,7 +91,7 @@ In order to assume a role, the IAM user for the static credentials must have the
9191
```
9292

9393
The role's trust policy must allow the IAM user to assume the role:
94-
```
94+
```json
9595
{
9696
"Version": "2012-10-17",
9797
"Statement": [

0 commit comments

Comments
 (0)