2023-09-16 20:44:54 +02:00
|
|
|
---
|
2023-10-28 17:30:10 +02:00
|
|
|
name: Galaxy-NG Roles Import
|
2023-09-16 20:44:54 +02:00
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: ['created']
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-28 17:30:10 +02:00
|
|
|
name: Galaxy Role Importer
|
2023-09-16 20:44:54 +02:00
|
|
|
runs-on: ubuntu-latest
|
2023-10-28 17:30:10 +02:00
|
|
|
|
2023-09-16 20:44:54 +02:00
|
|
|
steps:
|
2023-10-28 17:30:10 +02:00
|
|
|
- name: 'Checkout git repo'
|
2023-09-29 21:28:20 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-10-28 17:30:10 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2023-09-29 21:28:20 +02:00
|
|
|
|
2023-10-28 17:30:10 +02:00
|
|
|
- name: 'Release on galaxy'
|
|
|
|
uses: ansible-actions/ansible-galaxy-action@v1.1.1
|
2023-09-16 20:44:54 +02:00
|
|
|
with:
|
|
|
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|