Fix CI Condition
This commit is contained in:
parent
1a23e86b7a
commit
46052b0149
@ -3,13 +3,13 @@ branches: master
|
||||
pipeline:
|
||||
build:
|
||||
when:
|
||||
path: [".woodpecker/*", "notes/*"]
|
||||
path: [".woodpecker/*", "notes/*", "notes/src/*"]
|
||||
image: docker.io/sainnhe/mdbook:latest
|
||||
commands:
|
||||
- mdbook build notes
|
||||
deploy:
|
||||
when:
|
||||
path: [".woodpecker/*", "notes/*"]
|
||||
path: [".woodpecker/*", "notes/*", "notes/src/*"]
|
||||
image: docker.io/sainnhe/vercel:latest
|
||||
secrets:
|
||||
- VERCEL_TOKEN
|
||||
|
Loading…
Reference in New Issue
Block a user