refactor(gws.fyi): Remove cloudfront invalidation step

I'm not using cloudfront for gws.fyi anymore, so this invalidation step
on deploy is pointless

Change-Id: I153848666dc70acfc456b5dcf276bab2410c4716
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2946
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2021-04-12 11:25:03 -04:00 committed by grfn
parent 6e1dba8339
commit 0faba1a268

View file

@ -22,9 +22,6 @@ let
in (writeShellScript "deploy.sh" ''
${awscli}/bin/aws --profile personal s3 sync ${website}/ ${bucket}
${awscli}/bin/aws --profile personal cloudfront create-invalidation \
--distribution-id "${distributionID}" \
--paths "/*"
echo "Deployed to http://gws.fyi"
'') // {
inherit website;