enhance: GitHub Actions settings (#11)
This commit is contained in:
parent
b9842008ed
commit
d079faea7e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue