brew install hugoRun server
$ hugo serverThemes
themes/
Setting default theme
config.toml
theme = "robust"Running web server with a specified theme
hugo server --theme lunarStylesheet
static/css/styles.css
Scripts
static/js
Assets
static/assets
$ hugo$ aws s3 sync ./public s3://adtoken.com --acl=public-read --profile=metax --region=us-west-2Make sure to invalidate AWS CloudFront cache after deployment
https://console.aws.amazon.com/cloudfront/home?region=us-west-2#distribution-settings:E3MTBLBQ6FT84K
aws cloudfront create-invalidation --distribution-id E28OQWP5J96YQH --paths /index.html /assets/* /* --profile=metaxDeploy to staging
npm run deploy:stagingDeploy lunarscape website
npm run deploy:lunar:stagingDeploy to production
npm run deploy && npm run invalidate-cache