Skip to content

Commit

Permalink
Merge pull request #45 from mackerelio/add-release-wf
Browse files Browse the repository at this point in the history
add release workflow
  • Loading branch information
lufia authored Apr 26, 2024
2 parents 37a4a10 + 2185f53 commit 0da83eb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release
on:
release:
types:
- published
jobs:
release:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: ansible-galaxy role import
run: |
ansible-galaxy role import --token "$ANSIBLE_TOKEN" --role-name mackerel-agent mackerelio ansible-mackerel-agent
env:
ANSIBLE_TOKEN: ${{ secrets.ANSIBLE_TOKEN }}

0 comments on commit 0da83eb

Please sign in to comment.