add: filter to prevent CI when branch are deleted
This commit is contained in:
parent
b8232e8a2c
commit
9439d8c836
1 changed files with 2 additions and 0 deletions
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
|
|
@ -8,6 +8,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Docker build
|
- name: Docker build
|
||||||
|
if: github.delete == 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
|
||||||
run: docker run peaceiris/actions-hugo:latest version
|
run: docker run peaceiris/actions-hugo:latest version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue