wrbapp/.woodpecker.yml
xeovalyte ba156f7093
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Update '.woodpecker.yml'
2022-11-01 18:59:23 +01:00

31 lines
788 B
YAML

pipeline:
build-frontend:
image: node:16
commands:
- cd frontend
- npm i
- npm run build
publish-frontend:
image: node:16
secrets:
- meli_api_token
commands:
- 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"
build-backend:
image: node:16
commands:
- cd backend
- npm i
publish-backend:
image: docker
secrets:
- docker_password
commands:
- docker build --rm -t gitea.xeovalyte.dev/xeovalyte/wrbapp .
- docker login gitea.xeovalyte.dev -p $$DOCKER_PASSWORD -u xeovalyte
- docker push gitea.xeovalyte.dev/xeovalyte/wrbapp:latest