-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add option to build current directory #267
Comments
That's why I created npm tasks myself and execute npm in surf workspace. For CI environments this could be a starting point. Either set an environment variable: SURF_WORKSPACE=. surf ... or set the path within the deployment with: $deployment->setWorkspacesBasePath('.') The main problem is that the |
@ochorocho I don't think your workaround is too bad if you want to have it in different CI stages. We also build with Surf:
We use a composer script
|
@simonschaufi Would like to close this issue. No reaction anymore. Feel free to reopen. |
I wanted to make this work for v3 as this would be a killer feature that surf doesn't need to checkout the whole repo in CI context for example |
i wanted to have a single container building the required assets.
Example:
which works. Gitlab-ci hands over the artifacts to all other jobs which is awesome. The only problem is, Surf itself does all the Tasks in
{workspace}
-Folder. So my assets are not found by Surf.With an option to build the current directory, it would be possible for Surf to use the existing data without recompiling or copying the existing asset where Surf can find it.
This would avoid doing dodgy stuff like
The text was updated successfully, but these errors were encountered: