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

Option for target path? #5

Open
cheshrkat opened this issue Sep 19, 2018 · 3 comments
Open

Option for target path? #5

cheshrkat opened this issue Sep 19, 2018 · 3 comments

Comments

@cheshrkat
Copy link

I have a use case where we want to deploy copies of assets into subdirectories for testing:

s3bucket/foo/file.ext
s3bucket/bar/file.ext

...where foo/bar are the build number or the git branch/tag.

Usage would be to append the path to the bucket name. Equivalent with the CLI:

aws s3 sync ./source/ s3://"$S3BUCKET"/"$DEPLOY_PATH"

I don't think this is currently possible with the plugin?

@JayQuerido
Copy link

I also need this. Any word on this, @gonzadocarmo ?

@gonzadocarmo
Copy link
Owner

@JayQuerido / @cheshrkat unfortunately, I'm not actively maintaining this. You're more then free to submit a PR if still interested. If not, I think you could still accomplish this by creating as many build steps as directories (build number/DEPLOY_PATH) you want. On each build step you'd specify the different directory on the "Artifacts path" section. Does it help?

@cheshrkat
Copy link
Author

Thanks for the response. I'll try the workaround you've suggested. Not sure my Java-fu is strong enough to do a PR.

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

3 participants