shcloud/.drone.yml

15 lines
326 B
YAML
Raw Normal View History

2024-03-25 12:11:01 +01:00
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