Update Vercel deployment (#132)

Zeit/Now renamed to Vercel
Desktop client no longer supported
This commit is contained in:
Ben McCann 2020-06-27 08:41:07 -07:00 committed by GitHub
parent f01b6e46e6
commit 752c770ddb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,23 +60,21 @@ If you're building a single-page app (SPA) with multiple routes, sirv needs to b
## Deploying to the web ## Deploying to the web
### With [now](https://zeit.co/now) ### With [Vercel](https://vercel.com)
Install `now` if you haven't already: Install `vercel` if you haven't already:
```bash ```bash
npm install -g now npm install -g vercel
``` ```
Then, from within your project folder: Then, from within your project folder:
```bash ```bash
cd public cd public
now deploy --name my-project vercel deploy --name my-project
``` ```
As an alternative, use the [Now desktop client](https://zeit.co/download) and simply drag the unzipped project folder to the taskbar icon.
### With [surge](https://surge.sh/) ### With [surge](https://surge.sh/)
Install `surge` if you haven't already: Install `surge` if you haven't already: