Skip to content

Commit

Permalink
rill project upload => rill project deploy (#5811)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaHegde authored Oct 1, 2024
1 parent 629ac62 commit a43a849
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/project/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func ValidateLocalProject(ch *cmdutil.Helper, gitPath, subPath string) (string,
}

ch.PrintfWarn("Directory %q doesn't contain a valid Rill project.\n", localProjectPath)
ch.PrintfWarn("Run `rill project upload` from a Rill project directory or use `--path` to pass a project path.\n")
ch.PrintfWarn("Run `rill project deploy` from a Rill project directory or use `--path` to pass a project path.\n")
ch.PrintfWarn("Run `rill start` to initialize a new Rill project.\n")
return "", "", ErrInvalidProject
}
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/deploy/deploy-dashboard/deploy-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Cloud datastores will typically require service keys to access data. Make sure t

The flow diagram below shows two options for deploying an existing project.

**Deploy via the UI or CLI using `rill project upload`**:
**Deploy via the UI or CLI using `rill project deploy`**:
```mermaid
graph LR;
A(Local code files);
Expand Down Expand Up @@ -101,7 +101,7 @@ Once completed, you'll see the newly updated repository on the UI of your status
## Deploying a project via the CLI

:::note
Starting from v0.49, we have deprecated `rill deploy` in favor of `rill project upload` and `rill project connect-github`. For more information on the `rill deploy` command click [here](#deprecated-rill-deploy).
Starting from v0.49, we have deprecated `rill deploy` in favor of `rill project deploy` and `rill project connect-github`. For more information on the `rill deploy` command click [here](#deprecated-rill-deploy).
:::

### Deploy project without GitHub Repository
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/deploy/deploy-dashboard/deploy-from-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ deploy-rill-cloud:
script:
- curl -L -o $HOME/rill.zip https://cdn.rilldata.com/rill/latest/rill_linux_amd64.zip
- unzip -d $HOME $HOME/rill.zip
- $HOME/rill project upload --org my-org-name --name my-project-name --interactive=false --api-token $RILL_SERVICE_TOKEN
- $HOME/rill project deploy --org my-org-name --name my-project-name --interactive=false --api-token $RILL_SERVICE_TOKEN
```
Your Rill project should now automatically deploy to `ui.rilldata.com/my-org-name/my-project-name` each time changes are pushed to Gitlab!

0 comments on commit a43a849

Please sign in to comment.