Skip to content

Commit

Permalink
Update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellweg committed Jan 22, 2025
1 parent 7c748e9 commit fad5a47
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
---
name: "Release"
name: "Publish Release"

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
runs-on: "ubuntu-20.04"
publish:
runs-on: "ubuntu-latest"
if: "github.repository == 'pulp/squeezer'"
steps:
- uses: "actions/checkout@v4"
- name: "Set up Python"
uses: "actions/setup-python@v5"
with:
python-version: "3.10"
python-version: "3.13"
- name: "Install Ansible"
run: |
pip install --upgrade ansible
- name: "Build Ansible Collection"
run: |
make dist
- name: "Deploy Ansible Collection"
- name: "Publish Ansible Collection"
run: |
make publish GALAXY_API_KEY=${{ secrets.GALAXY_API_KEY }}
...

0 comments on commit fad5a47

Please sign in to comment.