-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
docs: Use correct publish directory for netlify deploy #2741
Conversation
Netlify automatically sets the Publish directory as "dist," but the netlify admin app's `build` command outputs files to `public`.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! I left some comments for changes below.
In addition, we should make changes to the CLI steps. Can you change the "Last Step: Steps with Default Values" section to indicate:
- Set build command:
? Your build command (hugo build/yarn run build/etc): yarn run build
Set deploy directory:
? Directory to deploy (blank for current dir): public
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! I left some comments for changes below.
In addition, we should make changes to the CLI steps. Can you change the "Last Step: Steps with Default Values" section to indicate:
- Set build command:
? Your build command (hugo build/yarn run build/etc): yarn run build
Set deploy directory:
? Directory to deploy (blank for current dir): public
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
I will take some time later to understand this better. I'm not exactly sure what you mean yet. |
oh, i understand, yes, I can do this. |
@komali2 any update on this? 😊 |
Netlify automatically sets the Publish directory as "dist," but the netlify admin app's
build
command outputs files topublic
.