Skip to content

Commit

Permalink
Fix release to ansible-galaxy
Browse files Browse the repository at this point in the history
  • Loading branch information
xRTRx authored Nov 27, 2023
1 parent 80226b4 commit 777b944
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ jobs:
steps:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: robertdebock/[email protected]

- name: set up Python
uses: actions/setup-python@v4
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: main
python-version: '3.12'

- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install ansible-core
- name: release
run: |
ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo $GITHUB_REPOSITORY | cut -d/ -f1) $(echo $GITHUB_REPOSITORY | cut -d/ -f2)

0 comments on commit 777b944

Please sign in to comment.