2021-03-20 18:25:46 +01:00
|
|
|
---
|
2023-10-23 12:01:19 +02:00
|
|
|
name: Galaxy-NG Roles Import
|
2021-03-20 18:25:46 +01:00
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: ['created']
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-10-23 12:01:19 +02:00
|
|
|
name: Galaxy Role Importer
|
2021-03-20 18:25:46 +01:00
|
|
|
runs-on: ubuntu-latest
|
2023-10-23 12:01:19 +02:00
|
|
|
|
2021-03-20 18:25:46 +01:00
|
|
|
steps:
|
2023-10-23 12:01:19 +02:00
|
|
|
- name: 'Checkout git repo'
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2022-04-07 21:46:37 +02:00
|
|
|
|
2023-10-23 12:01:19 +02:00
|
|
|
- name: 'Release on galaxy'
|
2023-10-26 22:41:40 +02:00
|
|
|
uses: ansible-actions/ansible-galaxy-action@v1.1.1
|
2021-03-20 18:25:46 +01:00
|
|
|
with:
|
|
|
|
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|