diff --git a/.github/workflows/galaxy.yml b/.github/workflows/galaxy.yml index e9d5a00..1c42cf6 100644 --- a/.github/workflows/galaxy.yml +++ b/.github/workflows/galaxy.yml @@ -12,14 +12,7 @@ jobs: - name: Fetch code uses: actions/checkout@v4 - - name: Set up Python 3. - uses: actions/setup-python@v5 - - - name: Install Ansible. - 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 + - name: galaxy + uses: robertdebock/galaxy-action@1.2.0 + with: + galaxy_api_key: ${{ secrets.GALAXY_API_KEY }}