Skip to content

Merge pull request #8 from adfinis/bump_bareos_fd #11

Merge pull request #8 from adfinis/bump_bareos_fd

Merge pull request #8 from adfinis/bump_bareos_fd #11

Workflow file for this run

---
name: Build and deploy Collection on Ansible Galaxy
on:
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set version in galaxy.yml
run: |
VERSION=${GITHUB_REF#refs/tags/v}
sed -re "s/^version:.*$/version: ${VERSION}/" -i galaxy.yml
- name: Upload collection to Ansible Galaxy
uses: ansible/[email protected]
with:
api_key: ${{ secrets.GALAXY_API_KEY }}