Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update explanation of publish option
  • Loading branch information
Joslin, Brady W (Brady) committed Aug 12, 2020
1 parent 176cda2 commit bc7b760
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -126,7 +126,7 @@ jobs:
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
jobs:
Expand All @@ -136,6 +136,7 @@ jobs:
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
publish: false
preCommands: wrangler build
```

## Use cases
Expand Down

0 comments on commit bc7b760

Please sign in to comment.