Claptrap-ui/.woodpecker/preview.yml

23 lines
451 B
YAML
Raw Permalink Normal View History

2024-01-01 15:07:46 +01:00
when:
2024-01-01 15:11:45 +01:00
event: pull_request
2024-01-01 15:07:46 +01:00
steps:
build:
2024-10-29 03:08:39 +01:00
image: node:22
2024-01-01 15:07:46 +01:00
commands:
- corepack enable
- pnpm install
- pnpm build
- mv dist/index.html dist/200.html
preview:
image: woodpeckerci/plugin-surge-preview
settings:
path: dist/
surge_token:
from_secret: surge_token
forge_type: gitea
forge_url: https://git.sebclem.fr
forge_repo_token:
from_secret: surge_forge_token