mirror of
https://github.com/status-im/actions-hugo.git
synced 2025-02-18 15:46:31 +00:00
add: filter to prevent CI when branch are deleted (#9)
This commit is contained in:
parent
b8232e8a2c
commit
021efbc871
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…
x
Reference in New Issue
Block a user