Add '.woodpecker.yml'

This commit is contained in:
xeovalyte 2022-11-01 15:55:20 +01:00
parent 1797e0d8c4
commit 7bd21a45c2

14
.woodpecker.yml Normal file
View File

@ -0,0 +1,14 @@
pipeline:
build:
image: node:16
commands:
- npm i
- npm run build
publish:
image: node:16
secrets:
- meli_api_token
commands:
- npm i
- npm run build
- 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"