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

How to select project folder under git control #155

Closed
fanweixiao opened this issue Nov 13, 2013 · 7 comments
Closed

How to select project folder under git control #155

fanweixiao opened this issue Nov 13, 2013 · 7 comments

Comments

@fanweixiao
Copy link

e.g. my git repo may looks like:

git.repo/a/b/proj1
git.repo/a/b/proj2
git.repo/a/b/proj3

When i only want to deploy proj1, how can I only copy contents of /a/b/proj1 ot deploy_to ?

@lesterzone
Copy link

Any luck with this @fanweixiao ?

@rpocklin
Copy link

+1 The assumption that the root directory of the git repo is your app is very limiting. This goes for capistrano, too.

You should be able to specify the project_path relative to the root of the repo to deploy. I'm sure this can be done. Would you accept a PR for this?

@phuongnd08
Copy link

Really need this one too.

@bernardoamc
Copy link

+1 This is still a good idea, a PR for this would be ok?

@pruett
Copy link

pruett commented Apr 24, 2015

I am curious about this question as well. Do you recommend running a task after deployment that will manually rm -rf unwanted files/folders?

@fanweixiao
Copy link
Author

@pruett mina first get scm files, then copy whole folder to Release dir, actually we can only copy indicate one to Release to complete this.

@d4be4st
Copy link
Member

d4be4st commented Jul 5, 2015

Mina works on assumptions that the repository contains only one app.
You can always make a task which will symlink the correct folder within releases path to /current but whole repo will be feched every time

@d4be4st d4be4st closed this as completed Jul 5, 2015
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

7 participants