2021-03-12 22:18:54 +01:00
|
|
|
---
|
2023-10-28 00:16:35 +02:00
|
|
|
name: Galaxy-NG Roles Import
|
2021-03-12 22:18:54 +01:00
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: ['created']
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-28 00:16:35 +02:00
|
|
|
name: Galaxy Role Importer
|
2021-03-12 22:18:54 +01:00
|
|
|
runs-on: ubuntu-latest
|
2023-10-28 00:16:35 +02:00
|
|
|
|
2021-03-12 22:18:54 +01:00
|
|
|
steps:
|
2023-10-28 00:16:35 +02:00
|
|
|
- name: 'Checkout git repo'
|
2023-09-05 00:56:06 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-10-28 00:16:35 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2022-04-07 22:42:42 +02:00
|
|
|
|
2023-10-28 00:16:35 +02:00
|
|
|
- name: 'Release on galaxy'
|
2023-12-14 23:23:02 +01:00
|
|
|
uses: ansible-actions/ansible-galaxy-action@v1.2.0
|
2021-03-12 22:18:54 +01:00
|
|
|
with:
|
|
|
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|