TODO: this is work-in-progress
entryPoint
: Absolute path to entry point for main Javascript bundle. This option is required.assetContext
: HTTP path for the entry pointìndex.html
, including trailing slash, not includingbaseUrl
. Defaults to''
.embedSupport
: Set to true to generate embeds codes page and also include scripts that support embedding to the distribution.flow
: Flow id of flow in which to send notificationsmaxAge
: The maxAge for HTTP cache headers for assets with rev urlsbucket
: The s3 bucket in which to deploybaseUrl
: The base url on the server, including trailing slash, not including path. e.g.http://www.example.com/
commit
: Git commit hashbranch
: Git branch nameproject
: GitHub project nameorg
: GitHub organization name,embedCodes
: Set totrue
to generateembed-codes.html
along boostrappingindex.html
embedCodesHtmlTemplate
: Absolute path to page template forembed-codes.html
page. Defaults to (this)[https://github.com/lucified/lucify-component-builder/blob/master/src/www/embed-codes.hbs] template.
pageDef
: object containing page metadata for entry point. The following attributes are recognized:title
: Page titledescription
: Description metadata for social sharing, etc,ogType
: Open graph typetwitterImage
: Filename for twitter card imageopenGraphImage
: Filename for open graph (Facebook) imageschemaImage
: 'Filename for schema imagegoogleAds
: Set totrue
to enable script src snippet inindex.html
for Google ads. Defaults totrue
. TODO: should be Google Ads Id instead of boolean.googleAnalytics
: Set totrue
to enable script src snippet inindex.html
for Google Analytics. Defaults totrue
. TODO: should be Google Analytics Id instead of boolean.riveted
: Set totrue
to enable script src snippet inindex.html
for Riveted.js. Defaults totrue
.iframeResize
: Set totrue
to bundle IFrame resizing code into bootstrapping index.html. Defaults totrue
indexHtmlTemplate
: Absolute path to handlebars template forindex.html
. Defaults to this template.externalStyles
: Set totrue
to get external stylesheets. This option is only checked from the firstpageDef
element and controls all of them.
pageDefs
: list of objects containing page metadata for all entry points. For each object, the same attributes as allowed forpageDef
are recognized. They are optional. However, apath
attribute is mandatory. It is the page's web path belowassetContext
.
Most options have defaults. Some of them depend on LUCIFY_ENV
. See src/js/deploy-options.js
for details.
If GITHUB_TOKEN
is defined, will notify of new deployment with GitHub Deployment API.
If FLOW_TOKEN
is defined, will use it to notify of successfull deployment to Flowdock.
The build should have a set of AWS environment variables and/or credentials specified, suitable for deploying to bucket
.
They can be defined in multiple ways
(1) AWS_PROFILE
and ~/.aws/credentials
(2) AWS_SECRET_ACCESS_KEY
and AWS_ACCESS_KEY_ID
(3) Optionally, you can define OVERRIDE_AWS_SECRET_ACCESS_KEY
and OVERRIDE_AWS_ACCESS_KEY_ID
(4) Also, ENCRYPTED_AWS_SECRET_ACCESS_KEY
is available. When this is used, LUCIFY_ENC_PASS
should be defined, so that it can be decrypted.