Compare commits

5 Commits

Author SHA1 Message Date
npease fca13ca90f Damn 2022-06-16 11:14:28 -04:00
npease a4e646964c Changed URL 2022-06-16 11:13:53 -04:00
npease aab606053f update build file 2022-06-16 11:11:23 -04:00
npease edfe834a8f oop 2022-06-16 10:10:48 -04:00
npease 296129c0d7 Changes 2022-06-16 10:08:57 -04:00
2 changed files with 5 additions and 27 deletions
+4 -2
View File
@@ -1,12 +1,14 @@
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: |
{ {
@@ -17,7 +19,7 @@ steps:
- 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: |
{ {
-24
View File
@@ -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 }}/"
}