feat(gws.fyi): Use awscli2 to deploy

Use awscli2 rather than awscli to deploy - less because I actually need
any specific functionality from the new version, and more because I
already use awscli2 on my systems and it's nice to always use the same
version of stuff

Change-Id: Id0e5b63dde1857c2e417ac2eeb2f769ebcc0f956
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3175
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Griffin Smith 2021-06-02 22:37:51 +02:00 committed by grfn
parent e0708cba8d
commit bf9857beff

View file

@ -21,7 +21,7 @@ let
''; '';
in (writeShellScript "deploy.sh" '' in (writeShellScript "deploy.sh" ''
${awscli}/bin/aws --profile personal s3 sync ${website}/ ${bucket} ${awscli2}/bin/aws --profile personal s3 sync ${website}/ ${bucket}
echo "Deployed to http://gws.fyi" echo "Deployed to http://gws.fyi"
'') // { '') // {
inherit website; inherit website;