mirror of
https://github.com/HanXHX/ansible-mysql.git
synced 2026-04-19 14:32:09 +07:00
⚗️ Try import role in galaxy
This commit is contained in:
16
.github/workflows/galaxy.yml
vendored
16
.github/workflows/galaxy.yml
vendored
@@ -11,7 +11,15 @@ jobs:
|
||||
steps:
|
||||
- name: Fetch code
|
||||
uses: actions/checkout@v4
|
||||
- name: galaxy
|
||||
uses: robertdebock/galaxy-action@1.2.0
|
||||
with:
|
||||
galaxy_api_key: ${{ secrets.galaxy_api_key }}
|
||||
|
||||
- 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
|
||||
|
||||
Reference in New Issue
Block a user