Fix CI Condition
ci/woodpecker/push/deploy Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details

This commit is contained in:
Sainnhe Park 2023-02-28 21:06:12 +08:00
parent 1a23e86b7a
commit 46052b0149
1 changed files with 2 additions and 2 deletions

View File

@ -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