2021-03-21 00:08:49 +01:00
|
|
|
---
|
2023-10-22 19:42:57 +02:00
|
|
|
name: Galaxy-NG Roles Import
|
2021-03-21 00:08:49 +01:00
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: ['created']
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-22 19:42:57 +02:00
|
|
|
name: Galaxy Role Importer
|
2021-03-21 00:08:49 +01:00
|
|
|
runs-on: ubuntu-latest
|
2023-10-22 19:42:57 +02:00
|
|
|
|
2021-03-21 00:08:49 +01:00
|
|
|
steps:
|
2023-10-22 19:42:57 +02:00
|
|
|
- name: 'Checkout git repo'
|
2023-09-05 07:54:06 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-10-22 19:42:57 +02:00
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2022-04-07 22:56:47 +02:00
|
|
|
|
2023-10-22 19:42:57 +02:00
|
|
|
- name: 'Release on galaxy'
|
2023-12-15 07:01:46 +01:00
|
|
|
uses: ansible-actions/ansible-galaxy-action@v1.2.0
|
2021-03-21 00:08:49 +01:00
|
|
|
with:
|
2023-11-30 17:54:39 +01:00
|
|
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
2023-11-30 18:05:37 +01:00
|
|
|
galaxy_version: 'main'
|