first commit

This commit is contained in:
2026-09-07 13:54:33 -04:00
commit cc8a67c937
2 changed files with 22 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Trigger Ansible Deploy
inputs:
task:
required: true
token:
required: true
ansible-repo:
default: alex/homelab
runs:
using: composite
steps:
- shell: bash
run: |
curl -fsS -X POST \
-H "Authorization: token ${{ inputs.token }}" \
-H "Content-Type: application/json" \
"${{ github.server_url }}/api/v1/repos/${{ inputs.ansible-repo }}/actions/workflows/deploy.yml/dispatches" \
-d "$(jq -nc --arg task "${{ inputs.task }}" \
'{ref:"main", inputs:{task:$task}}')"
+3
View File
@@ -0,0 +1,3 @@
# deploy-action
The deploy action I use across all of my repositories to easily deploy applications in my Ansible setup.