From 961b3ae9b7341cebdc7dcb8b09eba7042398d716 Mon Sep 17 00:00:00 2001 From: louis Date: Wed, 25 Jan 2023 09:30:08 -0800 Subject: [PATCH] Use correct branch for Ansible Galaxy --- .github/workflows/galaxy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index db817fd..0680b61 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -4,7 +4,8 @@ on: push: branches: - main - release: + tags: + - "*" jobs: galaxy: @@ -12,3 +13,4 @@ jobs: uses: systemli/github-ansible-workflow/.github/workflows/ansible-galaxy-workflow.yaml@main secrets: galaxy-token: ${{ secrets.galaxy_api_key }} + git-branch: ${{ env.GITHUB_REF_NAME }}