go-watch/.drone.yaml
2023-02-06 19:29:21 +00:00

32 lines
No EOL
536 B
YAML

kind: pipeline
type: kubernetes
name: test
steps:
- name: test
image: golang
commands:
- go build
- go test -v github.com/broodjeaap/go-watch/web
trigger:
branch:
- master
event:
- push
---
kind: pipeline
type: kubernetes
name: github-push
steps:
- name: push commit
image: appleboy/drone-git-push:0.2.0-linux-amd64
settings:
branch: master
remote: git@github.com:broodjeaap/go-watch.git
force: true
ssh_key:
from_secret: id_rsa
trigger:
branch:
- master
event:
- push