Open ananditavishnoi opened 3 years ago
If you are building and pushing locally, you can refer to my files package.json and deploy.sh, and then run the command npm run deploy
.
@zpj80231 I wanted to do this on Netlify. Is there a way to do this on any of the hosting platforms?
I'm trying to deploy this website using netlify. The build command that I used was - vuepress build docs and publish directory - docs/.vuepress/dist. According to the logs, everything seems to be fine, and it also gets built. Although, when I click on the link, the desired output is far from what gets built. What gets built:
The url of the deployed website: https://blissful-jennings-dfa804.netlify.app
I tried running it locally, there seems to be no problem there at all.
After running locally: ![Screenshot 2021-01-16 at 12 45 28 AM](https://user-images.githubusercontent.com/59216964/104768740-273cbb80-5794-11eb-9cbf-020a977a8024.png)
Should I use some other command for deploying it? Or, is there something else that I'm missing? Link to my repository: https://github.com/ananditavishnoi/my-blogsite