Skip to content

Commit

Permalink
ci: change action for push to galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
kimdre committed Jun 29, 2024
1 parent de6c36d commit b3df9c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:
push:
tags:
- 'v*'
- 'v*.*.*'

jobs:
release:
Expand All @@ -15,7 +15,10 @@ jobs:
environment: Galaxy
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Publish Ansible role to Galaxy
uses: robertdebock/galaxy-action@1.2.1
uses: ansible-actions/ansible-galaxy-action@v1.2.0
with:
galaxy_api_key: ${{ secrets.ANSIBLE_GALAXY_TOKEN }}
galaxy_version: ${{ github.ref }}

0 comments on commit b3df9c1

Please sign in to comment.