From 021efbc871dbdadb8b715f50e73fcd350e54cb6d Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Thu, 15 Aug 2019 20:43:36 +0900 Subject: [PATCH] add: filter to prevent CI when branch are deleted (#9) --- .github/workflows/push.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 5a758dd..175e39a 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -8,6 +8,8 @@ jobs: steps: - uses: actions/checkout@master - name: Docker build + if: github.delete == false run: docker build -t peaceiris/actions-hugo . - name: Check Hugo version + if: github.delete == false run: docker run peaceiris/actions-hugo:latest version