how i deploy my site
Related: Read how I build my site.
I use Cloudflare as the CDN, Cache and it issues also the free HTTPS certificate for the site.
With the aws-cli I deploy the static assets with one command:
npm run deploy
This command takes the files in the
_site directory, where Jekyll spits out the compiled assets, and I sync them to the remote S3 bucket.
npm run deploy is the script defined in
aws s3 sync --acl public-read --region eu-central-1 ./_site/ s3://christianfei.com
Share on Twitter