Skip to content

Commit 4b6a82f

Browse files
authored
chore: rename to "template push" in docs (#3525)
1 parent 01dd35f commit 4b6a82f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

cli/templateplan.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ func templatePlan() *cobra.Command {
88
return &cobra.Command{
99
Use: "plan <directory>",
1010
Args: cobra.MinimumNArgs(1),
11-
Short: "Plan a template update from the current directory",
11+
Short: "Plan a template push from the current directory",
1212
RunE: func(cmd *cobra.Command, args []string) error {
1313
return nil
1414
},

docs/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ You can edit the Terraform template as follows:
6262
coder templates init
6363
cd gcp-linux # modify this line as needed to access the template
6464
vim main.tf
65-
coder templates update gcp-linux # updates the template
65+
coder templates push gcp-linux # updates the template
6666
```
6767

6868
## Up Next

docs/templates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ practices:
297297

298298
We recommend source controlling your templates as you would other code.
299299

300-
CI is as simple as running `coder templates update` with the appropriate
300+
CI is as simple as running `coder templates push` with the appropriate
301301
credentials.
302302

303303
---

examples/templates/docker-image-builds/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ resource "docker_image" "coder_image" {
8888
Update the template:
8989

9090
```sh
91-
coder template update docker-image-builds
91+
coder template push docker-image-builds
9292
```
9393

9494
You can also remove images from the validation list. Workspaces using older template versions will continue using
@@ -136,7 +136,7 @@ resource "docker_image" "coder_image" {
136136
Update the template:
137137

138138
```sh
139-
coder template update docker-image-builds
139+
coder template push docker-image-builds
140140
```
141141

142142
Optional: Update workspaces to the latest template version

examples/templates/docker/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Develop in Docker
3-
description: Run workspaces on a Docker host using registry images
3+
description: Run workspaces on a Docker host using registry images
44
tags: [local, docker]
55
---
66

@@ -37,7 +37,7 @@ variable "docker_image" {
3737
Update the template:
3838

3939
```sh
40-
coder template update docker
40+
coder template push docker
4141
```
4242

4343
You can also remove images from the validation list. Workspaces using older template versions will continue using

0 commit comments

Comments
 (0)