diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index 22c2094..f0a0855 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -10,8 +10,9 @@ on: jobs: galaxy: name: Ansible Galaxy - uses: systemli/github-ansible-workflow/.github/workflows/ansible-galaxy-workflow.yaml@main - with: - git-branch: ${{ github.ref_name }} - secrets: - galaxy-token: ${{ secrets.galaxy_api_key }} + runs-on: ubuntu-latest + steps: + - name: Trigger a new import on Galaxy. + run: >- + ansible-galaxy role import --token ${{ secrets.galaxy_api_key }} + $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)