Files
NGRX-Playground/.drone.yml
T
mnky adf294fd85
continuous-integration/drone/push Build was killed
.drone.yml aktualisiert
2026-03-07 21:36:48 +00: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