v1.5.0 #7
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: Deploy Collection | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: | | |
github.event.release.prerelase == false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Tag latest release | |
uses: EndBug/latest-tag@latest | |
with: | |
ref: latest | |
description: This tag is automatically generated on new releases. | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and Deploy Collection | |
uses: artis3n/ansible_galaxy_collection@v2 | |
with: | |
api_key: '${{ secrets.GALAXY_API_KEY }}' | |