Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: References to rill project upload with rill project deploy #5811

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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!
Loading