ansible_role_restic/.github/workflows/galaxy.yml

26 lines
525 B
YAML
Raw Normal View History

---
2024-12-11 23:50:20 +01:00
name: Galaxy-NG Roles Import
2021-03-23 16:35:44 +01:00
# yamllint disable-line rule:truthy
on:
release:
2021-03-23 16:35:44 +01:00
types: ['created']
jobs:
2021-03-23 16:35:44 +01:00
build:
2024-12-11 23:50:20 +01:00
name: Galaxy Role Importer
runs-on: ubuntu-latest
2024-12-11 23:50:20 +01:00
steps:
2024-12-11 23:50:20 +01:00
- name: 'Checkout git repo'
uses: actions/checkout@v4
2024-12-11 23:50:20 +01:00
with:
submodules: true
fetch-depth: 0
2022-10-06 14:52:27 +02:00
2024-12-11 23:50:20 +01:00
- name: 'Release on galaxy'
uses: ansible-actions/ansible-galaxy-action@v1.2.0
with:
2021-03-23 16:35:44 +01:00
galaxy_api_key: ${{ secrets.galaxy_api_key }}
2024-12-11 23:50:20 +01:00
galaxy_version: 'main'