From 84930cca2f63a43f191001d1e432c1f862008225 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 30 Nov 2020 19:54:17 -0600 Subject: [PATCH] Update a recent til with some corrected details --- ...-an-app-without-pushing-an-empty-commit.md | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/vercel/deploy-an-app-without-pushing-an-empty-commit.md b/vercel/deploy-an-app-without-pushing-an-empty-commit.md index 8aa5819..b0b0d9e 100644 --- a/vercel/deploy-an-app-without-pushing-an-empty-commit.md +++ b/vercel/deploy-an-app-without-pushing-an-empty-commit.md @@ -1,23 +1,25 @@ # Deploy An App Without Pushing An Empty Commit The [Vercel CLI](https://vercel.com/docs/cli) allows you to make updated -deployments of an app right from the command line. Many providers require you -to push a new commit to the main branch to trigger a deployment. If there are -changes, you can trigger a deployment by pushing these. If there aren't -changes, but you want to re-deploy what is already there, then you have to -create an empty commit and push that. +deployments of an app right from the command line. + +Many providers require you to push a new commit to the main branch to trigger a +deployment. If there are changes, you can trigger a deployment by pushing +these. If there aren't changes, but you want to re-deploy what is already +there, then you have to create an empty commit and push that. With the [Vercel CLI](https://vercel.com/docs/platform/deployments#vercel-cli), -you can deploy and re-deploy the app without pushing commits. +you can re-deploy your app without pushing commits. You do this by including +the `--force` flag. -To trigger a preview deployment: +To re-deploy the preview environment: ```bash -$ vercel +$ vercel --force ``` -To trigger a production deployment: +To re-deploy the production environment: ```bash -$ vercel --prod +$ vercel --prod --force ```