Skip to content

once again, trying to fix publish action (#232) #24

once again, trying to fix publish action (#232)

once again, trying to fix publish action (#232) #24

Workflow file for this run

---
name: Galaxy Publish
on:
push:
tags:
- '*'
defaults:
run:
working-directory: 'osc.open_ondemand'
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'osc.open_ondemand'
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Ansible.
run: pip3 install ansible ansible-base six
- name: Trigger a new import on Galaxy.
run: ansible-galaxy role import --api-key ${{ secrets.OSC_ROBOT_GALAXY_TOKEN }} OSC ood-ansible