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