From 9b48e1ef9267126aed587c8f4ab1ba1f9b36f8d2 Mon Sep 17 00:00:00 2001 From: "Patrick J. Roddy" Date: Tue, 25 Jun 2024 12:22:25 +0100 Subject: [PATCH] Make deployment optional --- actions/python/pdoc/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/python/pdoc/action.yml b/actions/python/pdoc/action.yml index 7e5f554..0649a08 100644 --- a/actions/python/pdoc/action.yml +++ b/actions/python/pdoc/action.yml @@ -55,6 +55,7 @@ runs: inputs.template-directory}} - name: Deploy + if: github.ref == 'refs/heads/main' # yamllint disable-line rule:line-length uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3 with: