enhance: GitHub Actions settings (#11)

This commit is contained in:
Shohei Ueda 2019-08-15 21:26:43 +09:00 committed by GitHub
parent b9842008ed
commit d079faea7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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