From a213a11e3556878c53c86151d91bfbcf512cbcc2 Mon Sep 17 00:00:00 2001
From: "Douglas Cerna (Soy Douglas)" <douglascerna@yahoo.com>
Date: Thu, 23 Jan 2025 10:48:02 -0600
Subject: [PATCH] CI

---
 .github/workflows/vagrant-box-archivematica.yml | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/vagrant-box-archivematica.yml b/.github/workflows/vagrant-box-archivematica.yml
index c8008a0f..fe434704 100644
--- a/.github/workflows/vagrant-box-archivematica.yml
+++ b/.github/workflows/vagrant-box-archivematica.yml
@@ -8,6 +8,9 @@ on:
       description:
         description: Description
         required: true
+  push:
+    branches:
+      - "dev/use-matrix-in-am-vagrant-box-workflow"
 jobs:
   build-base-image:
     name: "Build base image Ubuntu ${{ matrix.ubuntu-version }}"
@@ -120,13 +123,3 @@ jobs:
                 'http://10.10.10.20:8000/api/v2/pipeline/' \
             | jq -r '.meta.total_count == 1' \
         ) == true
-    - name: Upload
-      run: |
-        cd ${{ github.workspace }}/tools/vagrant-box-uploader
-        bundle install
-        ruby upload.rb \
-          archivematica \
-          '${{ github.workspace }}/archivematica-vagrant-${{ github.event.inputs.version }}.box' \
-          '${{ secrets.VAGRANT_CLOUD }}' \
-          '${{ github.event.inputs.version }}' \
-          '${{ github.event.inputs.description }}'