Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thoughts on config #1

Open
BryanCrotaz opened this issue Apr 19, 2015 · 0 comments
Open

Thoughts on config #1

BryanCrotaz opened this issue Apr 19, 2015 · 0 comments

Comments

@BryanCrotaz
Copy link
Owner

I like to get the config written first as that will drive the design. What are your thoughts on:

export default function () {
    return [
        {
            type: "build" // maps to a registered type BuildDeployTask
        },
        {
            name: "upload-html", // used to read output data
            comment: "Upload index.html to S3", // logged to console
            type: "s3/upload",  // maps to a registered type S3/UploadDeployTask
            glob: "*.html",
            headers: ['Content-Type:text/html']
        },
        {
            comment: "Configure Cloudfront", 
            type: "cloudfront/update-distribution",
            origin: get("upload-html.bucketname") // get data from output POJO of previous task
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant