-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
I want to deploy only through s3/cloudfront, with a folder per branch. So I'd like to deploy both index and assets to this folder (creating it if necessary) , then setup a cloudfront distribution pointed at this folder.
It feels as though this requires a more flexible configuration, possibly through a config file which defines the steps to be carried out:
The current config could be stated as
deploy: [
{
task: "deploy",
assets: true,
s3: {
bucket: "abc",
path: "/"
}
},
{
task: "deploy",
index: true,
redis: {
// redis config here
}
},
{
task: "configure"
redis: {
currentIndex: "my-latest-index"
}
}
]
The array sets the task ordering and is easily extensible. I suggest that in the above example we register tasks with the container:
deploy:s3
deploy:heroku
configure:heroku
Thoughts?
Reactions are currently unavailable