You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
cmd/svc | 2 years ago | |
contrib/systemd | 2 years ago | |
pkg | 2 years ago | |
.drone.yml | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
config.yml.sample | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago |
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