kind: pipeline
name: deploy
steps:
- name: awx
image: curlimages/curl
environment:
TOKEN:
from_secret: AWX_TOKEN
commands:
- "curl -k -X POST -H \"Authorization: Bearer $TOKEN\" https://awx-aaron.apps.yolokube.de/api/v2/job_templates/13/launch/"
when:
event:
- push
branch:
- main