From 324514d92ed069dfbc6965fbf02da7a5bb2ef996 Mon Sep 17 00:00:00 2001
From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com>
Date: Fri, 26 Apr 2024 06:02:58 +0200
Subject: [PATCH] Test release

---
 .github/workflows/distribute.yaml | 31 +++++++++++++++++--------------
 .gitignore                        |  3 ++-
 2 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/distribute.yaml b/.github/workflows/distribute.yaml
index 6639efd..358b37f 100644
--- a/.github/workflows/distribute.yaml
+++ b/.github/workflows/distribute.yaml
@@ -3,19 +3,22 @@ name: Deploy Collection
 
 # Trigger the workflow however you prefer
 on:
-  release:
-    types:
-      - published
+    workflow_dispatch:
+    release:
+        types:
+            - published
 
 jobs:
-  deploy:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-      - name: Get the version name from the tags
-        run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
-      - name: Build and Deploy Collection
-        uses: artis3n/ansible_galaxy_collection@v2
-        with:
-          api_key: "${{ secrets.GALAXY_API_KEY }}"
-          galaxy_version: "${{ env.RELEASE_VERSION }}"
+    deploy:
+        runs-on: ubuntu-latest
+        steps:
+            - uses: actions/checkout@v3
+            # - name: Get the version name from the tags
+            #   run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
+            - name: Build and Deploy Collection
+              uses: artis3n/ansible_galaxy_collection@v2
+              with:
+                  api_key: "${{ secrets.GALAXY_API_KEY }}"
+                  # galaxy_version: "${{ env.RELEASE_VERSION }}"
+                  galaxy_version: "1.0.0" # Testing
+                  publish: false # Testing
diff --git a/.gitignore b/.gitignore
index 58cd12e..2d2b4a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@
 ansible.cfg
 inventory
 test.yml
-__pycache__
\ No newline at end of file
+__pycache__
+infisical-vault-1.0.0.tar.gz