1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_git.git synced 2024-09-14 20:12:03 +02:00
ansible_collection_git/.github/workflows/galaxy.yml
L3D d543e4cb98
only release releases on galaxy
Signed-off-by: L3D <l3d@c3woc.de>
2023-04-25 11:42:44 +02:00

22 lines
433 B
YAML

---
name: Galaxy release
# yamllint disable-line rule:truthy
on:
release:
types: ['created']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v3
with:
lfs: true
submodules: true
- name: "Publish Ansible"
uses: ansible/ansible-publish-action@v1.0.0
with:
api_key: "${{ secrets.GALAXY_API_KEY }}"