wrbapp/.woodpecker.yml

17 lines
425 B
YAML
Raw Normal View History

2022-11-01 15:55:20 +01:00
pipeline:
build:
image: node:16
commands:
2022-11-01 15:59:06 +01:00
- cd frontend
2022-11-01 15:55:20 +01:00
- npm i
- npm run build
publish:
image: node:16
secrets:
- meli_api_token
commands:
2022-11-01 15:59:06 +01:00
- cd frontend
2022-11-01 15:55:20 +01:00
- npm i
- npm run build
2022-11-01 15:57:05 +01:00
- npx -p "@getmeli/cli" meli upload .output/public --url https://meli.xeovalyte.dev --site 1e43e574-3eea-4e90-8c52-8a9bcab54f3a --token $$MELI_API_TOKEN --branch "main"