Skip to content

Commit

Permalink
Merge pull request #9 from MarekLani/readme_snippet_fix
Browse files Browse the repository at this point in the history
Update README.md examples to use yaml 1.2 boolean
  • Loading branch information
Jtalk authored Dec 11, 2021
2 parents 7472648 + 6455d94 commit eb8f4f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ steps:
# Check the following URLs one by one sequentially
url: https://example.com|http://example.com
# Follow redirects, or just report success on 3xx status codes
follow-redirect: no # Optional, defaults to "no"
follow-redirect: false # Optional, defaults to "false"
# Fail this action after this many failed attempts
max-attempts: 3 # Optional, defaults to 1
# Delay between retries
retry-delay: 5s # Optional, only applicable to max-attempts > 1
# Retry all errors, including 404. This option might trigger curl upgrade.
retry-all: no # Optional, defaults to "no"
retry-all: false # Optional, defaults to "false"
```
The action will fail if any of the URLs reports either 4xx or 5xx status codes.

0 comments on commit eb8f4f4

Please sign in to comment.