Skip to content

Commit

Permalink
Switch GH action, since previous one didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Mar 20, 2024
1 parent 021f3c8 commit f26a310
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
name: Deploy to Ansible Galaxy
---
name: Galaxy-NG Roles Import

# yamllint disable-line rule:truthy
on:
push:
# Pattern matched against refs/tags
tags:
- '**' # Push events to every tag including hierarchical tags like v1.0/beta
release:
types: ['created']

jobs:
release:
build:
name: Galaxy Role Importer
runs-on: ubuntu-latest

steps:
- name: galaxy
uses: robertdebock/galaxy-action@1.2.0
- name: 'Checkout git repo'
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: 'Release on galaxy'
uses: ansible-actions/ansible-galaxy-action@v1.2.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}

0 comments on commit f26a310

Please sign in to comment.