From f4c2926f96b3ea35158d878486a72678b521fb41 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 7 Jan 2026 16:05:31 +0100 Subject: [PATCH] fix(ci): add release workflow --- .gitea/workflows/release.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/release.yaml diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml new file mode 100644 index 0000000..68a523d --- /dev/null +++ b/.gitea/workflows/release.yaml @@ -0,0 +1,21 @@ +name: Release Ansible Role + +on: + push: + tags: + - '**' + +jobs: + release: + name: Release Ansible Role + runs-on: ubuntu-latest + steps: + - name: Install Ansible Galaxy + run: | + apt update --yes + apt install --yes ansible + - env: + ANSIBLE_GALAXY_TOKEN: ${{ secrets.ANSIBLE_GALAXY_TOKEN }} + name: Update Ansible Role in Ansible Galaxy + run: | + ansible-galaxy role import --token=${ANSIBLE_GALAXY_TOKEN} volker-raschek ansible-role-unix-users \ No newline at end of file