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

Update add-project.md #3822

Merged
merged 1 commit into from
Oct 31, 2024
Merged
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
8 changes: 4 additions & 4 deletions docs/installing-lagoon/add-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

```bash title="Add project"
lagoon add project \
--gitUrl <YOUR-GITHUB-REPO-URL> \
--openshift 1 \
--productionEnvironment <YOUR-PROD-ENV> \
--git-url <YOUR-GITHUB-REPO-URL> \
--deploytarget 1 \
--production-environment <YOUR-PROD-ENV> \
--branches <THE-BRANCHES-YOU-WANT-TO-DEPLOY> \
--project <YOUR-PROJECT-NAME>
```

* The value for `--openshift` is the ID of your Kubernetes cluster.
* The value for `--deploytarget` is the ID of your Kubernetes cluster.
* Your production environment should be the name of the branch you want to have as your production environment.
* The branches you want to deploy might look like this: `“^(main|develop)$”`
* The name of your project is anything you want - “Company Website,” “example,” etc.
Expand Down