mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-22 01:53:24 +01:00
update explanation of publish option
This commit is contained in:
parent
176cda2c0e
commit
bc7b76075d
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,7 @@ jobs:
|
||||||
echo "******"
|
echo "******"
|
||||||
```
|
```
|
||||||
|
|
||||||
Set the optional `publish` input to false to skip publishing your Worker project and secrets.
|
Set the optional `publish` input to false to skip publishing your Worker project and secrets. Useful in conjunction with pre and post commands. For example, if you only wanted to run `wrangler build` against your project:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -136,6 +136,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||||
publish: false
|
publish: false
|
||||||
|
preCommands: wrangler build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Use cases
|
## Use cases
|
||||||
|
|
Loading…
Reference in a new issue