added a step to build the code
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Cloudyy 2024-01-24 18:45:20 -03:00
parent 6d67f4218d
commit ab405f6e45
Signed by: cloudyy
GPG key ID: 035104A645BAEADD

View file

@ -4,3 +4,14 @@ pipeline:
commands:
- /home/cloudyy/.bun/bin/bun install
- /home/cloudyy/.bun/bin/bun astro check
when:
event: ['push', 'pull_request']
build:
image: fish
commands:
- /home/cloudyy/.bun/bin/bun astro build
- mkdir -p /srv/http/zinedev
- cp -r /home/cloudyy/.cache/woodpecker/exozine-dev/dist/* /srv/http/zinedev
when:
branch: main
event: ['push']