Skip to content

Commit

Permalink
Merge pull request #121 from cloudflare/jacobmgevans/codeowners
Browse files Browse the repository at this point in the history
Owners: Wrangler Team
  • Loading branch information
JacobMGEvans authored Aug 7, 2023
2 parents 6231e31 + 002bb08 commit a5fd4fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @cloudflare/wrangler
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

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.
- Wrangler v1 is no longer supported.
- Global API key & Email Auth no longer supported

[Refer to Changelog for more information](CHANGELOG.md).

## Usage
Expand Down Expand Up @@ -45,19 +47,6 @@ jobs:
apiToken: ${{ secrets.CF_API_TOKEN }}
```

`wrangler-action` also supports using your [global API key and email](https://developers.cloudflare.com/workers/quickstart/#global-api-key) as an authentication method, although API tokens are preferred. Pass in `apiKey` and `email` to the GitHub Action to use this method:

```yaml
jobs:
deploy:
name: Deploy
steps:
uses: cloudflare/[email protected]
with:
apiKey: ${{ secrets.CF_API_KEY }}
email: ${{ secrets.CF_EMAIL }}
```

## 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 `2.20.0`:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"scripts": {
"build": "tsc",
"test": "vitest",
"format": "prettier --write .",
"check": "prettier --check ."
"format": "prettier --write . --ignore-path ./dist/**",
"check": "prettier --check . --ignore-path ./dist/**"
},
"dependencies": {
"@actions/core": "^1.10.0"
Expand Down

0 comments on commit a5fd4fd

Please sign in to comment.