From cba3dd6d6114625fe7e2915d657b4cc366bbe7e3 Mon Sep 17 00:00:00 2001 From: Mark Horninger <13180040+spam-n-eggs@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:44:10 -0500 Subject: [PATCH] Fixed the deployment file (#6) --- .github/workflows/publish-to-ansible-galaxy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-to-ansible-galaxy.yml b/.github/workflows/publish-to-ansible-galaxy.yml index 302d509..282d8bf 100644 --- a/.github/workflows/publish-to-ansible-galaxy.yml +++ b/.github/workflows/publish-to-ansible-galaxy.yml @@ -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: .