Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Conversation

@josewhitetower
Copy link

No description provided.

After some research I've found that there is a netlify-cli. Following the vercel and surge instructions way.
@antony antony changed the title Updated Readme.md Add netlify deployment instructions Nov 25, 2020
Copy link

@maxcell maxcell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just want give ya a major shoutout @josewhitetower! I was coming by to do this contribution today and it was great to see it already here.

Comment on lines +116 to +120
```bash
netlify deploy --prod
```

Follow the instructions and be sure to set `public` as Publish Directory.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this callout for making sure to select the public directory because I totally didn't catch it myself when I tried to deploy so I know this is helpful!

It looks like the CLI added a flag to use instead too, so we can update the command to:

netlify deploy --dir=public --prod

and leave the rest to "Follow the rest of the setup instructions"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants