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

Redeployment documentation improvements #753

Merged
merged 2 commits into from
Mar 16, 2020
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
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,10 @@ List deployments of a script.
### Deploy

Creates a version and deploys a script.
The response gives the version of the deployment.
The response gives the deployment ID and the version of the deployment.

For web apps, each deployment has a unique URL.
To update/redeploy an existing deployment, provide the deployment ID.

#### Options

Expand All @@ -288,8 +291,8 @@ The response gives the version of the deployment.
- `clasp deploy` (create new deployment and new version)
- `clasp deploy --versionNumber 4` (create new deployment)
- `clasp deploy --description "Updates sidebar logo."` (deploy with description)
- `clasp deploy --deploymentId 123` (create new version)
- `clasp deploy -V 7 -d "Updates sidebar logo." -i 456`
- `clasp deploy --deploymentId abcd1234` (redeploy and create new version)
- `clasp deploy -V 7 -d "Updates sidebar logo." -i abdc1234`

### Undeploy

Expand Down