added drone.yaml

This commit is contained in:
Leopold Lamprecht 2022-09-12 05:25:32 +02:00
parent ce71aefa0a
commit 9e74ad77e1

27
.drone.yaml Normal file
View file

@ -0,0 +1,27 @@
kind: pipeline
type: kubernetes
name: default
steps:
- name: check for Hardcoded Credentials
image: plugins/gitleaks
- name: woke check
image: getwoke/woke
commands:
- woke
- name: build
image: node
commands:
- npm install typescript
- npx tsc
- name: deploy
image: vallard/drone-kube
template: deployment.yaml
when:
event:
- promote
target:
- production