about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/glittershark/gws.fyi/Makefile1
-rw-r--r--users/glittershark/gws.fyi/default.nix4
2 files changed, 3 insertions, 2 deletions
diff --git a/users/glittershark/gws.fyi/Makefile b/users/glittershark/gws.fyi/Makefile
index 83b60ef9bb52..a21bfe7b872e 100644
--- a/users/glittershark/gws.fyi/Makefile
+++ b/users/glittershark/gws.fyi/Makefile
@@ -16,6 +16,7 @@ renew:
 		--config-dir $(shell pwd)/letsencrypt/config
 	@echo "Reimporting certificate"
 	@aws acm import-certificate \
+	    --profile personal \
 	    --certificate file://letsencrypt/config/live/www.gws.fyi/cert.pem \
 	    --certificate-chain file://letsencrypt/config/live/www.gws.fyi/fullchain.pem \
 	    --private-key file://letsencrypt/config/live/www.gws.fyi/privkey.pem \
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"