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 08166f0
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ansible-galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Ansible Galaxy

on:
# FIXME:
pull_request: {}
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
- name: Install dependencies
run: pip install ansible
- name: Deploy
run: ansible-galaxy import semrush ansible-role-clickhouse --token "${{ secrets.GALAXY_API_KEY }}"

0 comments on commit 08166f0

Please sign in to comment.