using variables and moving files from zine/ not zinedev/
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Cloudyy 2024-01-25 23:33:05 -03:00
parent 42960edea1
commit bbf92ed1d5
Signed by: cloudyy
GPG key ID: 035104A645BAEADD

View file

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