enhance: GitHub Actions settings (#10)

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

View File

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