Skip to content

push to ansible galaxy #45

push to ansible galaxy

push to ansible galaxy #45

Workflow file for this run

---
name: push to ansible galaxy
on:
workflow_dispatch:
workflow_run:
workflows:
- "CI"
branches:
- main
types:
- completed
jobs:
galaxy:
name: galaxy
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Check out the codebase
uses: actions/checkout@v4
with:
path: 'ansible-urbanterror'
ref: ${{ github.event.workflow_run.head_branch }}
- name: 'Release on galaxy'
uses: ansible-actions/ansible-galaxy-action@v1.2.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}