From ee665b100200a4dd162328f99d857912c7617c10 Mon Sep 17 00:00:00 2001 From: vivid-cpreston <97257824+vivid-cpreston@users.noreply.github.com> Date: Wed, 3 Jul 2024 13:20:53 -0700 Subject: [PATCH] Update files to export --- .github/workflows/build-reports.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-reports.yml b/.github/workflows/build-reports.yml index bb61f513..479dc9ab 100644 --- a/.github/workflows/build-reports.yml +++ b/.github/workflows/build-reports.yml @@ -48,7 +48,7 @@ jobs: - name: Make report zipfile run: | cd cirras-underwriting-reports-jrs/src/main - zip export.zip ./* + zip -qq -r export.zip . export AUTHORIZATION="Basic $(echo ${{vars.JASPER_USER}}:${{vars.JASPER_PASSWORD}} | base64)" export JASPER_URL="https://cirras-underwriting-jasper-${{ inputs.ENVIRONMENT_NAME}}-${{ inputs.NAMESPACE}}.apps.silver.devops.gov.bc.ca/jasperserver/rest_v2/import?keyAlias=deprecatedImportExportEncSecret&update=true" curl -X POST $JASPER_URL -H "Content-Type: application/zip" -H "Authorization: $AUTHORIZATION" -T export.zip