2024-01-31 21:21:57 +00:00
|
|
|
steps:
|
2024-01-15 20:33:03 +00:00
|
|
|
check:
|
|
|
|
image: fish
|
|
|
|
commands:
|
2024-01-26 02:33:05 +00:00
|
|
|
- $HOME/.bun/bin/bun install
|
|
|
|
- $HOME/.bun/bin/bun astro check
|
2024-04-07 21:33:53 +00:00
|
|
|
when:
|
|
|
|
evaluate: 'CI_COMMIT_AUTHOR == "cloudyy"'
|
2024-02-11 19:31:57 +00:00
|
|
|
preview:
|
|
|
|
image: fish
|
|
|
|
commands:
|
2024-02-25 03:29:56 +00:00
|
|
|
- $HOME/.bun/bin/bun astro build --outDir /srv/http/zine-preview
|
2024-02-11 19:31:57 +00:00
|
|
|
when:
|
|
|
|
event: ['deployment']
|
|
|
|
path:
|
|
|
|
exclude: ['README.md', 'scripts/*']
|
2024-01-24 21:45:20 +00:00
|
|
|
build:
|
|
|
|
image: fish
|
|
|
|
commands:
|
2024-02-25 03:29:56 +00:00
|
|
|
- $HOME/.bun/bin/bun astro build --outDir /srv/http/zine
|
2024-01-24 21:45:20 +00:00
|
|
|
when:
|
|
|
|
branch: main
|
2024-01-26 03:37:11 +00:00
|
|
|
event: ['push', 'deployment']
|
2024-01-24 22:04:35 +00:00
|
|
|
path:
|
|
|
|
exclude: ['README.md', 'scripts/*']
|