Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fca13ca90f | |||
| a4e646964c | |||
| aab606053f | |||
| edfe834a8f | |||
| 296129c0d7 |
+5
-3
@@ -1,23 +1,25 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: gitea-pages
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls: http://192.168.0.201:11003/pages
|
||||
urls: http://192.168.0.254: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.201:11003/changerepourl
|
||||
urls: http://192.168.0.254:11003/changerepourl
|
||||
content_type: application/json
|
||||
template: |
|
||||
{
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
clone:
|
||||
disable: true
|
||||
steps:
|
||||
- name: gitea-pages
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls: http://192.168.0.201:11003/pages
|
||||
content_type: application/json
|
||||
template: |
|
||||
{
|
||||
"repo": "{{ repo.owner }}/{{ repo.name }}",
|
||||
"branch": "master"
|
||||
}
|
||||
- name: update-url
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls: http://192.168.0.201:11003/changerepourl
|
||||
content_type: application/json
|
||||
template: |
|
||||
{
|
||||
"repo": "{{ repo.owner }}/{{ repo.name }}/"
|
||||
}
|
||||
Reference in New Issue
Block a user