mirror of https://github.com/docker/docs.git
add retry for CreateInvalidation to prevent ServiceUnavailable error
This commit is contained in:
parent
ddc1e906db
commit
51aa658e0a
|
@ -120,6 +120,7 @@ jobs:
|
|||
aws cloudfront create-invalidation --distribution-id ${{ env.DOCS_CLOUDFRONT_ID }} --paths "/*"
|
||||
env:
|
||||
AWS_REGION: us-east-1 # cloudfront is only available in us-east-1 region
|
||||
AWS_MAX_ATTEMPTS: 5
|
||||
-
|
||||
name: Send Slack notification
|
||||
if: ${{ env.SEND_SLACK_MSG == 'true' }}
|
||||
|
|
Loading…
Reference in New Issue