💚 Fallback to previous galaxy push

pull/48/head
Emilien Mantel 2024-10-21 17:48:10 +02:00
parent 60d4033330
commit 73ca0f07e8
1 changed files with 4 additions and 11 deletions

View File

@ -12,14 +12,7 @@ jobs:
- name: Fetch code - name: Fetch code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up Python 3. - name: galaxy
uses: actions/setup-python@v5 uses: robertdebock/galaxy-action@1.2.0
with:
- name: Install Ansible. galaxy_api_key: ${{ secrets.GALAXY_API_KEY }}
run: pip3 install ansible-core
- name: Import role to Galaxy.
run: >-
ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }}
$(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
--branch fix_galaxy