Skip to content

Commit

Permalink
Add a release file to notify galaxy.
Browse files Browse the repository at this point in the history
  • Loading branch information
deekayen committed Mar 31, 2024
1 parent 35cba0a commit e813c3e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---

name: Release
'on':
push:
tags:
- '*'

defaults:
run:
working-directory: 'deekayen.meshchat'

jobs:

release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4.1.1
with:
path: 'deekayen.meshchat'

- name: GitHub Environment Variables Action
uses: FranzDiebold/github-env-vars-action@v2.7.0

- name: Trigger a new import on Galaxy.
run: ansible-galaxy role import --branch $CI_REF_NAME --api-key ${{ secrets.GALAXY_API_KEY }} $CI_REPOSITORY_OWNER $CI_REPOSITORY_NAME

0 comments on commit e813c3e

Please sign in to comment.