This commit is contained in:
parent
f1fa8b3ab8
commit
7c68a77620
@ -1,11 +1,11 @@
|
|||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build-frontend:
|
||||||
image: node:16
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- npm i
|
- npm i
|
||||||
- npm run build
|
- npm run build
|
||||||
publish:
|
publish-frontend:
|
||||||
image: node:16
|
image: node:16
|
||||||
secrets:
|
secrets:
|
||||||
- meli_api_token
|
- meli_api_token
|
||||||
@ -13,3 +13,21 @@ pipeline:
|
|||||||
- cd frontend
|
- cd frontend
|
||||||
- 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"
|
- 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"
|
||||||
|
|
||||||
|
build-backend:
|
||||||
|
image: node:16
|
||||||
|
commands:
|
||||||
|
- cd backend
|
||||||
|
- npm i
|
||||||
|
|
||||||
|
publish-backend:
|
||||||
|
image: plugins/docker
|
||||||
|
secrets:
|
||||||
|
- docker_password
|
||||||
|
settings:
|
||||||
|
registry: gitea.xeovalyte.dev
|
||||||
|
username: xeovalyte
|
||||||
|
password: $$DOCKER_PASSWORD
|
||||||
|
repo: xeovalyte/wrbapp
|
||||||
|
tags: latest
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user