Skip to content

Commit

Permalink
ci: use reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
maxthier committed Oct 29, 2024
1 parent 344fab9 commit 96bf2c8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
---
#
# Ansible managed
#

name: Release to Ansible Galaxy

on:
release:
types: [created, edited, published, released]

jobs:
release:
runs-on: ubuntu-20.04
steps:
- name: galaxy
uses: robertdebock/[email protected]
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
uses: adfinis/github-workflows-bareos/.github/workflows/[email protected]
secrets: inherit
15 changes: 15 additions & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# runs on each push to main and is responsible for creating new tags/releases
name: Create Semantic Release

on:
push:
branches:
- main
- master

jobs:
semantic-release:
uses: adfinis/github-workflows-bareos/.github/workflows/[email protected]
secrets:
ADFINISBOT_GITHUB_TOKEN: ${{ secrets.ADFINISBOT_GITHUB_TOKEN }}

0 comments on commit 96bf2c8

Please sign in to comment.