Fix CI Condition
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
Sainnhe Park 2023-02-28 21:06:12 +08:00
parent 1a23e86b7a
commit 46052b0149

View File

@ -3,13 +3,13 @@ branches: master
pipeline: pipeline:
build: build:
when: when:
path: [".woodpecker/*", "notes/*"] path: [".woodpecker/*", "notes/*", "notes/src/*"]
image: docker.io/sainnhe/mdbook:latest image: docker.io/sainnhe/mdbook:latest
commands: commands:
- mdbook build notes - mdbook build notes
deploy: deploy:
when: when:
path: [".woodpecker/*", "notes/*"] path: [".woodpecker/*", "notes/*", "notes/src/*"]
image: docker.io/sainnhe/vercel:latest image: docker.io/sainnhe/vercel:latest
secrets: secrets:
- VERCEL_TOKEN - VERCEL_TOKEN