Files
NGRX-Playground/.drone.yml
Dennis Hundertmark 91c29affd1
All checks were successful
continuous-integration/drone/pr Build is passing
update .drone.yml to add pull request check and separate deployment pipeline
2026-03-06 16:55:20 +01:00

43 lines
721 B
YAML

kind: pipeline
type: kubernetes
name: pr-check
trigger:
event:
- pull_request
steps:
- name: build-angular
image: node:22-alpine
commands:
- npm ci
- npm run build
---
kind: pipeline
type: kubernetes
name: deploy
trigger:
branch:
- main
event:
- push
steps:
- name: build-angular
image: node:22-alpine
commands:
- npm ci
- npm run build
- name: build-and-push
image: plugins/docker
settings:
registry: gitea.mnky-code.de
repo: gitea.mnky-code.de/mnky/ngrx-playground
tags:
- latest
- ${DRONE_COMMIT_SHA:0:8}
username:
from_secret: gitea_username
password:
from_secret: gitea_password