Skip to content

v1.1.0

v1.1.0 #8

Workflow file for this run

name: Publish to Ansible Galaxy
on:
release:
workflow_dispatch:
jobs:
publish:
environment: publish
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: ansible-galaxy collection build
- name: Publish to Ansible Galaxy
run: ansible-galaxy collection publish *.tar.gz --api-key ${{ secrets.ANSIBLE_GALAXY_TOKEN }}
- name: Upload Artifact
uses: actions/[email protected]
with:
name: ansible-dvls-collection
path: '*.tar.gz'