enhance: GitHub Actions settings (#10)
This commit is contained in:
parent
021efbc871
commit
b9842008ed
|
@ -8,8 +8,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
if: github.delete == false
|
if: github.event.deleted == false && github.event.created == 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
|
if: github.event.deleted == false && github.event.created == false
|
||||||
run: docker run peaceiris/actions-hugo:latest version
|
run: docker run peaceiris/actions-hugo:latest version
|
||||||
|
|
Loading…
Reference in New Issue