Remove notes
All checks were successful
ci/woodpecker/push/test Pipeline was successful

This commit is contained in:
2023-04-18 08:40:23 +08:00
parent bef47e10bf
commit ac82acbb83
45 changed files with 0 additions and 2545 deletions

View File

@@ -1,40 +0,0 @@
branches: master
pipeline:
build:
when:
path: [".woodpecker/*", "notes/*", "notes/src/*"]
image: docker.io/sainnhe/mdbook:latest
commands:
- mdbook build notes
deploy:
when:
path: [".woodpecker/*", "notes/*", "notes/src/*"]
image: docker.io/sainnhe/vercel:latest
secrets:
- VERCEL_TOKEN
- VERCEL_PROJECT_ID
- VERCEL_ORG_ID
commands:
- vercel notes/book --token $VERCEL_TOKEN --prod
notify:
when:
status:
- failure
image: docker.io/sainnhe/mailer:latest
commands:
- mailer
secrets:
[
MAILER_FROM_ADDRESS,
MAILER_FROM_NAME,
MAILER_RECIPIENTS,
MAILER_USER_NAME,
MAILER_PASSWORD,
MAILER_HOST,
MAILER_PORT,
MAILER_USE_STARTTLS,
]
environment:
- MAILER_SUBJECT=Run Failed
- MAILER_BODY=${CI_BUILD_LINK}