Repository files navigation
Install Hugo
Clone the repo, critically with submodules to get the theme too
git clone --recursive https://github.com/aarongorka/aarongorka-com
Build the site (note: if building under an alternate domain, modify baseURL in config.yaml or links won't work)
Deploy the CloudFormation stack. This assumes you have an existing cert in ACM.
CERTIFICATE_ARN=" <ARN to an ACRM certificate>"
DOMAIN_NAME=" <your domain name>"
aws cloudformation create-stack \
--region us-east1 \
--stack-name aarongorka-com \
--template-body file://cloudformation.yaml \
--parameters ParameterKey=DomainName,ParameterValue=$DOMAIN_NAME ParameterKey=CertificateArn,ParameterValue=$CERTIFICATE_ARN
Sync the contents of the website to the bucket
aws s3 sync --no-progress --delete --cache-control ' max-age=3155695200' public/ " s3://${DOMAIN_NAME} /"
Manually (or otherwise through another mechanism) create A and AAAA records for $DOMAIN_NAME pointing to the CloudFrontDistributionDomainName
You can’t perform that action at this time.