diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/glittershark/gws.fyi/.gitignore | 1 | ||||
-rw-r--r-- | users/glittershark/gws.fyi/default.nix | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/users/glittershark/gws.fyi/.gitignore b/users/glittershark/gws.fyi/.gitignore index 7783c2834f92..2b72eaed2988 100644 --- a/users/glittershark/gws.fyi/.gitignore +++ b/users/glittershark/gws.fyi/.gitignore @@ -1,2 +1,3 @@ result letsencrypt +index.html 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; +} |