Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Support wrangler2 - v2.0.0
- Loading branch information
Daniel Walsh
committed
May 9, 2022
1 parent
6f62deb
commit 3d1979c
Showing
5 changed files
with
172 additions
and
92 deletions.
There are no files selected for viewing
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,23 @@ | ||
# 2.0.0 (Breaking update) | ||
|
||
## Additions | ||
|
||
* 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>`. | ||
* New `accountId` input | ||
* This allows you to specify your account ID. | ||
|
||
## Removals | ||
|
||
* Removed `publish` input (refer to [Breaking changes](#breaking-changes)). | ||
|
||
## Changes | ||
|
||
-- no changes -- | ||
|
||
## __Breaking changes__ | ||
|
||
* `publish` has been removed. | ||
* You should instead do `command: publish`. |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
FROM node:16 | ||
ENV XDG_CONFIG_HOME /github/workspace | ||
ENV WRANGLER_HOME /github/workspace | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
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
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
Oops, something went wrong.