Skip to content

Merge pull request #3 from CodethinkLabs/scott/metrics-prefix #3

Merge pull request #3 from CodethinkLabs/scott/metrics-prefix

Merge pull request #3 from CodethinkLabs/scott/metrics-prefix #3

Workflow file for this run

---
name: Release role
on:
push:
tags:
- '*'
jobs:
import_role:
name: Import role to Ansible Galaxy
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Ansible.
run: pip3 install ansible-core==2.17.*
- name: Start import on Ansible Galaxy
run: >
ansible-galaxy role import
--token ${{ secrets.ANSIBLE_GALAXY_API_TOKEN }}
$(echo ${{ github.repository }} | cut -d/ -f1 | tr '[:upper:]' '[:lower:]')
$(echo ${{ github.repository }} | cut -d/ -f2)