~goorzhel/dotcom

Static site

d1ba241 Link to /pronunciation, but don't belabor the point

2 months ago

35f3db4 Rewrite things-I-do list, yet again

3 months ago

#Antonio Gurgel's site

#Design inspiration

#Hosting

#Deploying

#Prerequisites

  • age
  • moreutils (for sponge)
  • an .env that looks like this:
$ cat .env
export AWS_ACCESS_KEY_ID=<redacted>
export AWS_SECRET_ACCESS_KEY=<redacted>

#Setup

age -r $(age-keygen -o .key |& awk '{print $NF}') -a .env | sponge .env
echo '$(age -d -i .key .env) && make deploy' > .git/hooks/pre-push

#Deployment

git push