zine/.woodpecker.yml
CloudyyUw 7c9d0e75e8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/deployment/woodpecker Pipeline was successful
Running CI checks only if the author is me
2024-04-07 18:33:53 -03:00

26 lines
725 B
YAML

steps:
check:
image: fish
commands:
- $HOME/.bun/bin/bun install
- $HOME/.bun/bin/bun astro check
when:
evaluate: 'CI_COMMIT_AUTHOR == "cloudyy"'
preview:
image: fish
commands:
- $HOME/.bun/bin/bun astro build --outDir /srv/http/zine-preview
when:
event: ['deployment']
path:
exclude: ['README.md', 'scripts/*']
build:
image: fish
commands:
- $HOME/.bun/bin/bun astro build --outDir /srv/http/zine
when:
branch: main
event: ['push', 'deployment']
path:
exclude: ['README.md', 'scripts/*']