-
Notifications
You must be signed in to change notification settings - Fork 81
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
Task runs without failing or uploading anything #116
Comments
Not sure what I changed, but its working now. Sorry! |
FWIW, I'm having similar issues. s3: {
options: {
key: config.s3.accessKeyId, // we load these as variables on top
secret: config.s3.secretAccessKey,
bucket: 'REDACTED',
access: 'public-read',
headers: {
// One year cache policy in milliseconds
"Cache-Control": "max-age=" + (1000 * 60 * 60 * 24 * 365) + ", public",
"Expires": new Date(Date.now() + (1000 * 60 * 60 * 24 * 365)).toUTCString()
}
},
sync: [
{
options: {
verify: true, // Make sure the local files are newer than the ones in s3 and replace
gzip: true,
debug: true
},
src: [
"<%= yeoman.tmp %>/{,*/}*"
],
dest: [""],
// make sure the wildcard paths are fully expanded in the dest
rel: [
"<%= yeoman.tmp %>/"
]
}
]
}, Running with the -v option gives me: Running "s3:sync" (s3) task |
So, to anyone else having this problem: I was missing a level in the config. upload, sync etc. needs to be within an object in itself. (If you see "Running "s3:sync" (s3) task" you are doing something wrong). |
@dagingaa you're a life-saver! Thank you |
What am I missing? I have a similar setup using
0.2.0-alpha.1
working on an older Mac with Snow Leopard. On my shiny new MBP with Mavericks nothing happens.Versions:
Config:
Output of running
grunt s3
orgrunt s3:dev
:$ grunt s3 Running "s3:dev" (s3) task Done, without errors.
Any ideas? Thanks!
The text was updated successfully, but these errors were encountered: