22 lines
652 B
YAML
22 lines
652 B
YAML
pipeline:
|
|
check:
|
|
image: fish
|
|
commands:
|
|
- /home/cloudyy/.bun/bin/bun install
|
|
- /home/cloudyy/.bun/bin/bun astro check
|
|
when:
|
|
event: ['push', 'pull_request']
|
|
path:
|
|
exclude: ['README.md', 'scripts/*']
|
|
build:
|
|
image: fish
|
|
commands:
|
|
- /home/cloudyy/.bun/bin/bun astro build
|
|
- mkdir -p /srv/http/zine
|
|
- cp -r /home/cloudyy/.cache/woodpecker/exozine-dev/dist/* /srv/http/zine
|
|
when:
|
|
branch: main
|
|
event: ['push']
|
|
path:
|
|
exclude: ['README.md', 'scripts/*']
|