Skip to content

Commit 9d29c3d

Browse files
elithrarharshil1712
authored andcommitted
workflows: remove script_name references (#17769)
* workflows: remove script_name * more
1 parent c3890b9 commit 9d29c3d

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ name = "workflows-tutorial"
4343
# be how you call (run) your Workflow from your other Workers handlers or
4444
# scripts.
4545
binding = "MY_WORKFLOW"
46-
# script_name is required during for the beta.
47-
# Must match the "name" of your Worker at the top of wrangler.toml
48-
script_name = "workflows-tutorial"
4946
# Must match the class defined in your code that extends the Workflow class
5047
class_name = "MyWorkflow"
5148
```

src/content/docs/workflows/build/workers-api.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ name = "workflows-starter"
120120
binding = "MY_WORKFLOW"
121121
# this is class that extends the Workflow class in src/index.ts
122122
class_name = "MyWorkflow"
123-
# script_name is required during for the beta.
124-
# Must match the "name" of your Worker at the top of wrangler.toml
125-
script_name = "workflows-starter"
126123
```
127124

128125
## Workflow

src/content/docs/workflows/get-started/cli-quick-start.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,6 @@ name = "workflows-starter"
180180
binding = "MY_WORKFLOW"
181181
# this is class that extends the Workflow class in src/index.ts
182182
class_name = "MyWorkflow"
183-
# script_name is required during for the beta.
184-
# Must match the "name" of your Worker at the top of wrangler.toml
185-
script_name = "workflows-starter"
186183
```
187184

188185
You can then invoke the methods on this binding directly from your Worker script's `env` parameter. The `Workflow` type has methods for:

src/content/docs/workflows/get-started/guide.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,6 @@ name = "workflows-starter"
198198
binding = "MY_WORKFLOW"
199199
# this is class that extends the Workflow class in src/index.ts
200200
class_name = "MyWorkflow"
201-
# script_name is required during the beta.
202-
# Must match the "name" of your Worker at the top of wrangler.toml
203-
script_name = "workflows-starter"
204201
```
205202

206203
:::note

0 commit comments

Comments
 (0)