From bc7b76075d5454028fb89058095eab5cdc068e93 Mon Sep 17 00:00:00 2001 From: "Joslin, Brady W (Brady)" Date: Tue, 11 Aug 2020 22:53:34 -0500 Subject: [PATCH] update explanation of publish option --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d82948..1874c10 100644 --- a/README.md +++ b/README.md @@ -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: @@ -136,6 +136,7 @@ jobs: with: apiToken: ${{ secrets.CF_API_TOKEN }} publish: false + preCommands: wrangler build ``` ## Use cases