From 1c4110371c813d0aaca1e8de441860ceb8214580 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Mon, 5 Feb 2024 19:10:02 +0100 Subject: [PATCH] feat(publish): first publish for ednz-cloud --- .github/workflows/publish.yml | 18 ++++++++++++++++++ README.md | 2 +- meta/main.yml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish.yml 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"