1.2.0 [2024-09-10] #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Ansible WireGuard OpenWISP Publish Release | |
on: # yamllint disable-line rule:truthy | |
release: | |
types: | |
- published | |
jobs: | |
publish: | |
name: Publish the role on Ansible Galaxy | |
runs-on: ubuntu-20.04 | |
container: python:3-slim | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install ansible | |
run: pip install ansible | |
- name: Update imports on Ansible Galaxy | |
run: | | |
ansible-galaxy role import openwisp ansible-wireguard-openwisp --api-key ${{ secrets.GALAXY_API_KEY }} --role-name wireguard_openwisp |