Update '.drone.yml'
This commit is contained in:
+3
-5
@@ -1,25 +1,23 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: gitea-pages
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls: http://192.168.0.254:11003/pages
|
||||
urls: http://192.168.0.201:11003/pages
|
||||
content_type: application/json
|
||||
template: |
|
||||
{
|
||||
"repo": "{{ repo.name }}",
|
||||
"owner": "{{ repo.owner }}",
|
||||
"branch": "master"
|
||||
}
|
||||
}
|
||||
- name: update-url
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls: http://192.168.0.254:11003/changerepourl
|
||||
urls: http://192.168.0.201:11003/changerepourl
|
||||
content_type: application/json
|
||||
template: |
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user