diff options
Diffstat (limited to 'users/glittershark/gws.fyi/default.nix')
-rw-r--r-- | users/glittershark/gws.fyi/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/users/glittershark/gws.fyi/default.nix b/users/glittershark/gws.fyi/default.nix index 8b1742bf5646..ef3ef6c57080 100644 --- a/users/glittershark/gws.fyi/default.nix +++ b/users/glittershark/gws.fyi/default.nix @@ -20,10 +20,12 @@ let cp ${resume} $out/resume.pdf ''; -in writeShellScript "deploy.sh" '' +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; +} |