enhance: GitHub Actions settings (#11)
This commit is contained in:
parent
b9842008ed
commit
d079faea7e
|
@ -8,8 +8,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Docker build
|
- 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 .
|
run: docker build -t peaceiris/actions-hugo .
|
||||||
- name: Check Hugo version
|
- 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
|
run: docker run peaceiris/actions-hugo:latest version
|
||||||
|
|
Loading…
Reference in New Issue