Build and publish an Ansible Collection to Ansible Galaxy.
Required: Ansible Galaxy API key.
This should be stored in a Secret on GitHub. See Creating and Using Secrets Encrypted Variables.
Default: ./
The directory in which the Ansible Collection is stored. This defaults to the project root.
Only change this if your Collection is not stored in your project root.
Semver-compatible string: 1
, 1.1
, 1.1.1
, 1.1.1-alpha
Dynamically inject a semver-compatible version into your galaxy.yml
file.
- name: Build and Deploy Collection
uses: arillso/action.ansible.collection@master
with:
api_key: '3fe6ff42edm793ddei5'
This project is under the MIT License. See the LICENSE file for the full license text.
(c) 2022, Arillso