wrbapp/.woodpecker.yml

35 lines
782 B
YAML
Raw Normal View History

2022-11-01 15:55:20 +01:00
pipeline:
2022-11-01 18:30:36 +01:00
build-frontend:
2022-11-01 15:55:20 +01:00
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
2022-11-01 18:30:36 +01:00
publish-frontend:
2022-11-01 15:55:20 +01:00
image: node:16
secrets:
- meli_api_token
commands:
2022-11-01 15:59:06 +01:00
- cd frontend
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"
2022-11-01 18:30:36 +01:00
build-backend:
image: node:16
commands:
- cd backend
- npm i
publish-backend:
2022-11-01 19:07:43 +01:00
image: plugins/docker
2022-11-01 18:30:36 +01:00
secrets:
- docker_password
2022-11-01 19:07:43 +01:00
settings:
username: xeovalyte
password:
from_secret: docker_password
repo: gitea.xeovalyte.dev/xeovalyte/wrbapp
tags:
- latest
2022-11-01 19:08:44 +01:00
registry: gitea.xeovalyte.dev
2022-11-01 18:30:36 +01:00
2022-11-01 15:57:05 +01:00