refresh-get-daml-com: add invalidation & format (#16993)

* refresh-get-daml-com: add invalidation & format

* test update
This commit is contained in:
Gary Verhaegen 2023-06-14 20:54:52 +02:00 committed by GitHub
parent 9fadea3f4c
commit ed202d1861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -27,8 +27,9 @@ jobs:
else
echo "Files differ; pushing new version."
aws s3 cp daml-assistant/get-daml.sh s3://get-daml-com/get-daml.sh --acl public-read --region us-east-1
aws cloudfront create-invalidation --distribution-id EXTKHQ2MNSNU4 --paths "/*"
echo "Telling Slack..."
tell_slack "Change detected in get.daml.com:\`\`\`$(diff daml-assistant/get-daml.sh $tmp)\`\`\`"
tell_slack "$(echo -e "Change detected in get.daml.com:\n\`\`\`\n$(diff daml-assistant/get-daml.sh $tmp)\`\`\`")"
fi
name: push_if_needed
env:

View File

@ -9,6 +9,7 @@
# This will overwrite any existing installation in ~/.daml
# For more information please visit https://daml.com/ and https://docs.daml.com/
#
# Testing update.
#
# USAGE: