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

Add the possibility to change the default configuration when deployn on Netlify #17

Open
Giuliano1993 opened this issue Jan 18, 2024 · 0 comments
Labels
good first issue Good for newcomers Netlify

Comments

@Giuliano1993
Copy link
Owner

at the moment Netlify options sent to API to deploy a project are somehow hardcoded: the options are mostly in the direction of a vue project. But we need to have the possibility to change some of them, specifically:

{
      "branch": repo['default_branch'],
      "cmd": "npm run build",
      "dir": "dist/",
      "private": false,
}

these are mostly default commands and directives but could change at times,
branch: is the branches to deploy when it has got pushes or PR
**cmd: ** is the build command
dir is the directory where the built projects is
private check for the private repositories

We should ask some question thanks to inquirer in order to allow this value to be set (the values should default to the ones already in)

@Giuliano1993 Giuliano1993 added the good first issue Good for newcomers label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Netlify
Projects
None yet
Development

No branches or pull requests

1 participant