Skip to content

Commit

Permalink
Create workflow to push to ansible-galaxy
Browse files Browse the repository at this point in the history
Signed-off-by: Joerg Kastning <[email protected]>
  • Loading branch information
Tronde committed Dec 19, 2023
1 parent 2cf7a6e commit bc18d1a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ansible-galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: 'Publish latest release to Ansible Galaxy'

on:
push:
branches:
- 'main'
workflow_dispatch: {}

jobs:
build:
name: 'Publish to Ansible Galaxy'
runs-on: 'ubuntu-latest'
steps:
- name: 'checkout'
uses: 'actions/checkout@v2'
- name: 'galaxy'
uses: 'robertdebock/[email protected]'
with:
galaxy_api_key: '${{ secrets.galaxy_api_key }}'
git_branch: 'main'

0 comments on commit bc18d1a

Please sign in to comment.