diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..784f2c9 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,18 @@ +--- +name: publish +on: + push: + branches: + - main + +jobs: + publish: + name: Publish to galaxy + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Publish + uses: ednxzu/galaxy-import-role@v1 + with: + galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }} diff --git a/README.md b/README.md index 32acd73..994ee72 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,4 @@ MIT / BSD Author Information ------------------ -This role was created by Bertrand Lanson in 2023. +This role was created by Bertrand Lanson in 2024. diff --git a/meta/main.yml b/meta/main.yml index 1afe075..47e7dd3 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,7 @@ --- # meta file for deploy_haproxy galaxy_info: - namespace: "ednxzu" + namespace: "ednz_cloud" role_name: "deploy_haproxy" author: "Bertrand Lanson" description: "Deploy HAProxy either directly or inside a docker container, on debian-based distributions"