Skip to content

Commit

Permalink
add galaxy push
Browse files Browse the repository at this point in the history
  • Loading branch information
bodsch committed Jul 5, 2023
1 parent 07b1d3a commit a421498
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/99-galaxy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---

name: push to ansible galaxy

on:
workflow_run:
workflows:
- "alertmanager"
- "am_silence"
- "blackbox_exporter"
- "docker_sd"
- "json_exporter"
- "mysql_exporter"
- "nginx_exporter"
- "node_exporter"
- "promcheck"
- "prometheus"
- "trickster"
branches:
- main
types:
- completed

jobs:
galaxy:
name: galaxy
runs-on: ubuntu-20.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Check out the codebase
uses: actions/checkout@v3

- name: Deploy Ansible Galaxy Collection
uses: artis3n/ansible_galaxy_collection@v2.8.3
with:
api_key: '${{ secrets.GALAXY_API_KEY }}'
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace: bodsch
name: prometheus

version: 0.6.0
version: 0.9.5

readme: README.md

Expand Down

0 comments on commit a421498

Please sign in to comment.