Skip to content

CD

CD #10

Workflow file for this run

name: CD
on:
workflow_dispatch:
inputs:
manual_deploy:
description: "deploy to ansible galaxy"
default: false
required: true
type: boolean
release:
types: [published]
jobs:
deploy:
if: ${{ github.event.release.published == true || inputs.manual_deploy == true }}
uses: trfore/ansible-role/.github/workflows/deploy_ansible_galaxy.yml@main # remote repo
secrets:
API_KEY: ${{ secrets.GALAXY_API_KEY }}