mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-10 21:00:29 -07:00
27 lines
865 B
YAML
27 lines
865 B
YAML
---
|
|
name: Release collection
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
uses: ansible-middleware/github-actions/.github/workflows/release.yml@main
|
|
with:
|
|
collection_fqcn: 'middleware_automation.keycloak'
|
|
secrets:
|
|
galaxy_token: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
|
|
|
|
dispatch:
|
|
needs: release
|
|
strategy:
|
|
matrix:
|
|
repo: ['ansible-middleware/cross-dc-rhsso-demo', 'ansible-middleware/flange-demo', 'ansible-middleware/ansible-middleware-ee']
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.TRIGGERING_PAT }}
|
|
repository: ${{ matrix.repo }}
|
|
event-type: "Dependency released - Keycloak v${{ needs.release.outputs.tag_version }}"
|
|
client-payload: '{ "github": ${{toJson(github)}} }'
|