Merge pull request #36 from RedHatSatellite/rel210 #13
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: release | |
on: | |
push: | |
tags: | |
- v[0-9]+.[0-9]+.[0-9]+ | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: github.repository == 'RedHatSatellite/satellite-operations-collection' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install Ansible | |
run: pip install --upgrade ansible | |
- name: Build Ansible Collection | |
run: make dist | |
- name: Deploy Ansible Collection | |
run: make publish GALAXY_API_KEY=${{ secrets.GALAXY_API_KEY }} |