Run docs CI under if condition (commit contains docs:)

This commit is contained in:
Folyd 2022-08-11 23:21:24 +08:00
parent 6e335fdbb3
commit 7e517959e4

View file

@ -11,6 +11,7 @@ jobs:
build:
name: Deploy to now branch
runs-on: ubuntu-latest
if: "contains(github.event.head_commit.message, 'docs:')"
steps:
- uses: actions/checkout@v2
with: