Skip to content

Commit

Permalink
Merge pull request #119 from cloudflare/jacobmgevans/remove-v1-examples
Browse files Browse the repository at this point in the history
Update README to remove v1 suggestions/examples
  • Loading branch information
JacobMGEvans authored Aug 7, 2023
2 parents 3dd57ff + 74a9b98 commit 0c419be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

Easy-to-use GitHub Action to use [Wrangler](https://developers.cloudflare.com/workers/cli-wrangler/). Makes deploying Workers, Pages or modifying R2 easy to do.

Wrangler v1 is longer supported.
[Refer to Changelog for more information](CHANGELOG.md).

## Usage
Expand Down Expand Up @@ -59,7 +60,7 @@ jobs:

## Configuration

If you need to install a specific version of Wrangler to use for deployment, you can also pass the input `wranglerVersion` to install a specific version of Wrangler from NPM. This should be a [SemVer](https://semver.org/)-style version number, such as `1.6.0`:
If you need to install a specific version of Wrangler to use for deployment, you can also pass the input `wranglerVersion` to install a specific version of Wrangler from NPM. This should be a [SemVer](https://semver.org/)-style version number, such as `2.20.0`:

```yaml
jobs:
Expand All @@ -68,7 +69,7 @@ jobs:
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
wranglerVersion: "1.6.0"
wranglerVersion: "2.20.0"
```

Optionally, you can also pass a `workingDirectory` key to the action. This will allow you to specify a subdirectory of the repo to run the Wrangler command from.
Expand Down

0 comments on commit 0c419be

Please sign in to comment.