The site is implemented as a Jekyll site.
It has a _config.yml
for specifying the directory structure, metadata, build
defaults, etc.
To make it watch for file changes and build automatically (which watches only the files specified in the above Inputs section), run:
make watch
If you want to be sure all outputs are cleaned prior to building, run:
make clean-watch
This section is only for deployment.
Configure the hostname and region in the ro-site.rc
file as you know it.
cp ro-site.rc.template ro-site.rc
vi ro-site.rc
If you have access to the bucket, run this.
export AWS_PROFILE=myprofile
source ro-site.rc
make upload
The sites are accessed via CloudFront. If you’re seeing
stale data after make upload
, most likely the CloudFront
cache needs to be invalidated.
Your AWS account must be authorized to invalidate the CloudFront cache for this distribution.
export AWS_PROFILE=myprofile
source ro-site.rc
make clear-cf