Fixed the deployment file (#6)

This commit is contained in:
Mark Horninger 2024-02-23 16:44:10 -05:00 committed by GitHub
parent f0c18afca0
commit cba3dd6d61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -9,10 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update version
run: |
echo "Updating version"
sed -i "s/version: .*/version: ${{ github.event.release.tag_name }}/g" dominion_solutions/netbird/galaxy.yml
sed -i "s/version: .*/version: ${{ github.event.release.tag_name }}/g" galaxy.yml
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Update version to ${{ github.event.release.tag_name }}"
@ -27,4 +28,4 @@ jobs:
with:
api_key: ${{ secrets.ANSIBLE_GALAXY_API_KEY }}
api_server: https://galaxy.ansible.com/api/
src_path: /github/workspace/dominion_solutions/netbird
src_path: .