add: filter to prevent CI when branch are deleted (#9)

This commit is contained in:
Shohei Ueda 2019-08-15 20:43:36 +09:00 committed by GitHub
parent b8232e8a2c
commit 021efbc871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ jobs:
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- name: Docker build - name: Docker build
if: github.delete == false
run: docker build -t peaceiris/actions-hugo . run: docker build -t peaceiris/actions-hugo .
- name: Check Hugo version - name: Check Hugo version
if: github.delete == false
run: docker run peaceiris/actions-hugo:latest version run: docker run peaceiris/actions-hugo:latest version