Skip to content

Commit

Permalink
Merge pull request #18 from adfinis/chore/reusable_workflows
Browse files Browse the repository at this point in the history
ci: use reusable workflows
  • Loading branch information
adf-patrickha authored Nov 26, 2024
2 parents c819bf5 + be04842 commit f4aa772
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 f4aa772

Please sign in to comment.