Skip to content

Commit

Permalink
Merge pull request #8 from compscidr/automate-galaxy-deploy
Browse files Browse the repository at this point in the history
Switch GH action, since previous one didn't work
  • Loading branch information
compscidr authored Mar 20, 2024
2 parents 3f65eea + 4ef2f4c commit 1c1f228
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
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:
<<<<<<< HEAD
- name: 'Checkout git repo'
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0

- name: 'Release on galaxy'
uses: ansible-actions/[email protected]
=======
- name: galaxy
uses: robertdebock/[email protected]
>>>>>>> origin/main
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}

0 comments on commit 1c1f228

Please sign in to comment.