mirror of
https://github.com/roles-ansible/ansible_collection_git.git
synced 2024-09-14 20:12:03 +02:00
22 lines
433 B
YAML
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 }}"
|