Jay
f3e1b37b2d
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
Reviewed-on: #7 |
||
---|---|---|
cmd/svc | ||
contrib/systemd | ||
pkg | ||
.drone.yml | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
config.yml.sample | ||
go.mod | ||
go.sum |
README.md
auto-deploy-service
Config struct
server:
port: 10230 # server listen port
listens:
- http:
method: get # http method only support get and post
path: /test # http register path
headers: # header check map[string]string
x-validate-key: '123'
script: /tmp/run.sh # script location required execute permission
- http:
method: post
path: /test-post
headers: {}
script: /tmp/run.sh
# cron job setting
cron_jobs:
- cron_time: '* * * * *'
script: /tmp/run.sh