auto-deploy-service/README.md

26 lines
541 B
Markdown
Raw Permalink Normal View History

2021-06-13 11:36:49 +00:00
# auto-deploy-service
2021-06-13 15:03:52 +00:00
## Config struct
```yaml
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
2021-07-07 15:53:43 +00:00
# cron job setting
cron_jobs:
- cron_time: '* * * * *'
script: /tmp/run.sh
2021-06-13 15:03:52 +00:00
```