-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from cloudflare/jacobmgevans/codeowners
Owners: Wrangler Team
- Loading branch information
Showing
3 changed files
with
6 additions
and
16 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @cloudflare/wrangler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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`: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters