galaxy-import-role/action.yml

24 lines
672 B
YAML
Raw Permalink Normal View History

2023-03-09 12:03:14 +00:00
---
# action file
name: Galaxy import role
description: Import a role to ansible-galaxy using a given API key
inputs:
galaxy-api-key:
required: true
description: The key to use to authenticate against ansible-galaxy
repository-owner:
required: true
description: The owner of the repository from which to import the role
repository-name:
required: true
description: The name of the repository from which to import the role
2023-03-09 12:03:14 +00:00
runs:
using: docker
image: Dockerfile
env:
2023-03-09 12:44:01 +00:00
GALAXY_API_TOKEN: ${{ inputs.galaxy-api-key }}
GALAXY_REPOSITORY_OWNER: ${{ inputs.repository-owner }}
GALAXY_REPOSITORY_NAME: ${{ inputs.repository-name }}