From 3678a333275ac9a2b2aac01ba6a65b9edd8b5c4e Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 28 Mar 2021 19:53:44 -0400 Subject: fix(gws.fyi): Explicitly specify personal profile to AWS Explicitly pass --profile personal to AWS commands, to avoid deploying this to the wrong aws account on accident Change-Id: Iff8236967adcfdedfbace8930031db9adf60e3d1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2699 Reviewed-by: glittershark Tested-by: BuildkiteCI --- users/glittershark/gws.fyi/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users/glittershark/gws.fyi/default.nix') diff --git a/users/glittershark/gws.fyi/default.nix b/users/glittershark/gws.fyi/default.nix index 38d64cef5700..8b1742bf5646 100644 --- a/users/glittershark/gws.fyi/default.nix +++ b/users/glittershark/gws.fyi/default.nix @@ -21,8 +21,8 @@ let ''; in writeShellScript "deploy.sh" '' - ${awscli}/bin/aws s3 sync ${website}/ ${bucket} - ${awscli}/bin/aws cloudfront create-invalidation \ + ${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" -- cgit 1.4.1