fixed 's/pats/paths/' in .drone.yml

This commit is contained in:
Bastian de Byl
2020-09-28 23:26:40 -04:00
parent a3311566f2
commit fa1d4922d6

View File

@@ -25,7 +25,7 @@ steps:
AWS_DEFAULT_REGION: us-east-1
commands:
- aws s3 sync --acl "public-read" --sse "AES256" public/ s3://bdebyl.net
- aws cloudfront create-invalidation --distribution-id "$DISTRIBUTION_ID" --pats '/*'
- aws cloudfront create-invalidation --distribution-id "$DISTRIBUTION_ID" --paths '/*'
when:
branch:
- master