diff --git a/doc/user-guide/cli.md b/doc/user-guide/cli.md index 41713887..8ad35287 100644 --- a/doc/user-guide/cli.md +++ b/doc/user-guide/cli.md @@ -47,6 +47,12 @@ add the `--watch` flag. ploomber-cloud deploy --watch ``` +You can also use the `--watch-incremental-logs` to view only the newly added logs with every polling. + +```sh +ploomber-cloud deploy --watch-incremental-logs +``` + ## Configure an existing project If you want to deploy an existing project run the `init` command with the `--from-existing` flag: diff --git a/doc/user-guide/github.md b/doc/user-guide/github.md index 7989b0bd..48ec792c 100644 --- a/doc/user-guide/github.md +++ b/doc/user-guide/github.md @@ -67,19 +67,19 @@ Then, click on the most recent run, and you'll see the logs: In the logs, you will see updates on the progress of the deployment. You'll also see a URL to your application where you can check its status. Once the deployment has succeeded, it will return a URL to view your deployed project. -If you would prefer to track progress only through the application, you can remove `--watch` from the `deploy` command in your `ploomber-cloud.yaml`: +If you would prefer to track progress only through the application, you can remove `--watch-incremental-logs` from the `deploy` command in your `ploomber-cloud.yaml`: ```yaml - name: Deploy env: PLOOMBER_CLOUD_KEY: ${{ secrets.PLOOMBER_CLOUD_KEY }} run: | - ploomber-cloud deploy # removed '--watch' here + ploomber-cloud deploy # removed '--watch-incremental-logs' here ``` -Removing `--watch` means deployment updates won't be output to the logs, but you will still be able to track its progress through the URL. +Removing `--watch-incremental-logs` means deployment updates won't be output to the logs, but you will still be able to track its progress through the URL. -Without `--watch`, the logs will look like this: +Without `--watch-incremental-logs`, the logs will look like this: ![](../static/github/logs.png)