From d079faea7e75e6b6648c4b2350266d8972b15d17 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Thu, 15 Aug 2019 21:26:43 +0900 Subject: [PATCH] enhance: GitHub Actions settings (#11) --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 8d36251..b811715 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -8,8 +8,8 @@ jobs: steps: - uses: actions/checkout@master - name: Docker build - if: github.event.deleted == false && github.event.created == false + if: github.event_name != 'delete' && github.event_name != 'create' run: docker build -t peaceiris/actions-hugo . - name: Check Hugo version - if: github.event.deleted == false && github.event.created == false + if: github.event_name != 'delete' && github.event_name != 'create' run: docker run peaceiris/actions-hugo:latest version