Skip to content

Commit b9842dd

Browse files
committed
Automatically publish new tags to ansible-galaxy
1 parent f2a74d2 commit b9842dd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Ansible Galaxy
3+
4+
on:
5+
push:
6+
tags:
7+
- '*'
8+
# For manual runs
9+
workflow_dispatch: {}
10+
11+
jobs:
12+
build:
13+
name: Publish to Ansible Galaxy
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Setup Python
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: 3.x
22+
- name: Install dependencies
23+
run: pip install ansible
24+
- name: Deploy
25+
run: ansible-galaxy import semrush ansible-role-clickhouse --token "${{ secrets.GALAXY_API_KEY }}"

0 commit comments

Comments
 (0)