Skip to content

Commit

Permalink
Automatically publish new tags to ansible-galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Nov 5, 2024
1 parent f2a74d2 commit cbbd4c7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ansible-galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
on:
push:
tags:
- '*'
# For manual runs
workflow_dispatch: {}

jobs:
build:
name: Publish to Ansible Galaxy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
run: pip install ansible
- name: Install dependencies
run: ansible-galaxy import semrush ansible-role-clickhouse --token $GALAXY_API_KEY
with:
GALAXY_API_KEY: '${{ secrets.GALAXY_API_KEY }}'

0 comments on commit cbbd4c7

Please sign in to comment.