Skip to content

Commit

Permalink
ci: extend health checks before posting
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuhito committed Apr 30, 2023
1 parent bb7f211 commit 1960c92
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
method: "POST"
bearerToken: ${{ secrets.WESBITE_UPDATE_TOKEN }}
data: '{"fonts": true, "algolia": true, "download": true, "axisRegistry": true}'
retry: 1
retryDelay: 30000
16 changes: 13 additions & 3 deletions website/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,23 @@ kill_timeout = "5s"
[[services.ports]]
port = 443
handlers = ["tls", "http"]

[services.concurrency]
type = "connections"
hard_limit = 40
soft_limit = 35
hard_limit = 60
soft_limit = 45

[[services.tcp_checks]]
interval = "15s"
timeout = "2s"
grace_period = "5s"
grace_period = "15s"
restart_limit = 5

[[services.http_checks]]
interval = 15000
grace_period = "15s"
method = "get"
path = "/"
protocol = "http"
timeout = 2000
tls_skip_verify = false

0 comments on commit 1960c92

Please sign in to comment.