This commit is contained in:
parent
843b617468
commit
2e156880b8
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
||||||
kind: pipeline
|
skip_clone: true
|
||||||
name: deploy
|
|
||||||
steps:
|
steps:
|
||||||
- name: awx
|
- name: awx
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
|
@ -7,4 +6,7 @@ steps:
|
||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: AWX_TOKEN
|
from_secret: AWX_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/10/launch/"
|
- "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/10/launch/"
|
||||||
|
when:
|
||||||
|
- branch: main
|
||||||
|
event: push
|
Loading…
Reference in a new issue