Compare commits
2 Commits
79b1c50295
...
73ca0f07e8
Author | SHA1 | Date |
---|---|---|
Emilien Mantel | 73ca0f07e8 | |
Emilien Mantel | 60d4033330 |
|
@ -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
|
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "HanXHX.mysql"
|
name: "hanxhx.mysql"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "HanXHX.mysql"
|
name: "hanxhx.mysql"
|
||||||
|
|
||||||
- name: COPY | Deploy first dump
|
- name: COPY | Deploy first dump
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
@ -33,4 +33,4 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "HanXHX.mysql"
|
name: "hanxhx.mysql"
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Include role
|
- name: Include role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: "HanXHX.mysql"
|
name: "hanxhx.mysql"
|
||||||
|
|
Loading…
Reference in New Issue