-
Notifications
You must be signed in to change notification settings - Fork 159
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 documentation #324
Update documentation #324
Conversation
6042e3d
to
79de25a
Compare
CHANGELOG.md
Outdated
@@ -206,8 +206,8 @@ | |||
|
|||
- New `command` input | |||
- This allows you to specify the Wrangler command you would like to run. | |||
For example, if you want to publish the production version of your Worker you may run `publish --env=production`. | |||
- This opens up other possibilities too like publishing a Pages project: `pages publish <directory> --project-name=<name>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update command to deploy
as well https://developers.cloudflare.com/workers/wrangler/commands/#pages
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw this, but assumed we wouldn't want to retroactively update a changelog since this is tied to a specific version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant to remove this completely
CHANGELOG.md
Outdated
For example, if you want to publish the production version of your Worker you may run `publish --env=production`. | ||
- This opens up other possibilities too like publishing a Pages project: `pages publish <directory> --project-name=<name>`. | ||
For example, if you want to deploy the production version of your Worker you may run `publish --env=production`. | ||
- This opens up other possibilities too like deploying a Pages project: `pages publish <directory> --project-name=<name>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
209 and 210 also say publish
instead of deploy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above. Sorry about that!
README.md
Outdated
@@ -345,3 +375,4 @@ jobs: | |||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |||
``` | |||
```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed :)
@@ -220,7 +234,7 @@ For more advanced usage or to programmatically trigger the workflow from scripts | |||
|
|||
### Upload a Worker Version | |||
|
|||
To create a new version of your Worker that is not deployed immediately, use the `wrangler versions upload --experimental-versions` command. Worker versions created in this way can then be deployed all at once at a later time or gradually deployed using the `wranger versions deploy --experimental-versions` command or via the Cloudflare dashboard under the Deployments tab. For now, the `--experimental-versions` flag and wrangler v3.40.0 or above is required to use this feature. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would confirm with wrangler team to see if --experimental-versions
flag is still required or not, looks like it's still referenced here for example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has been confirmed!
c1338a5
to
bd64420
Compare
bd64420
to
0140ffb
Compare
Updates repo documentation to: