From c5a216543286405992f12f774c41216f09b5772e Mon Sep 17 00:00:00 2001 From: Erin Geier <115035002+emgeier@users.noreply.github.com> Date: Fri, 8 Nov 2024 16:48:04 -0600 Subject: [PATCH] test persons --- .github/workflows/main.yml | 56 +++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 21f95297a9..8ab6ea3aad 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,23 +61,23 @@ jobs: # echo "Processing the first 25 XML files:" # cat xml_files.txt - # - name: Specify specific Person XML files - # run: | - # echo "./data/persons/tei/25.xml" > xml_files.txt - - # echo "./data/persons/tei/110.xml" > xml_files.txt - # echo "./data/persons/tei/106.xml" >> xml_files.txt - # echo "./data/persons/tei/109.xml" >> xml_files.txt - # echo "./data/persons/tei/101.xml" >> xml_files.txt - # echo "./data/persons/tei/100.xml" >> xml_files.txt - # echo "./data/persons/tei/102.xml" >> xml_files.txt - # echo "./data/persons/tei/1021.xml" >> xml_files.txt - # echo "./data/persons/tei/320.xml" >> xml_files.txt - # echo "./data/persons/tei/67.xml" >> xml_files.txt - # echo "./data/persons/tei/544.xml" >> xml_files.txt - # echo "./data/persons/tei/732.xml" >> xml_files.txt - # echo "Processing specified XML files:" - # cat xml_files.txt + - name: Specify specific Person XML files + run: | + echo "./data/persons/tei/25.xml" > xml_files.txt + + echo "./data/persons/tei/110.xml" > xml_files.txt + echo "./data/persons/tei/106.xml" >> xml_files.txt + echo "./data/persons/tei/109.xml" >> xml_files.txt + echo "./data/persons/tei/101.xml" >> xml_files.txt + echo "./data/persons/tei/100.xml" >> xml_files.txt + echo "./data/persons/tei/102.xml" >> xml_files.txt + echo "./data/persons/tei/1021.xml" >> xml_files.txt + echo "./data/persons/tei/320.xml" >> xml_files.txt + echo "./data/persons/tei/67.xml" >> xml_files.txt + echo "./data/persons/tei/544.xml" >> xml_files.txt + echo "./data/persons/tei/732.xml" >> xml_files.txt + echo "Processing specified XML files:" + cat xml_files.txt # - name: Specify specific Place XML files # run: | @@ -89,16 +89,16 @@ jobs: # echo "./data/places/tei/602.xml" >> xml_files.txt # echo "Processing specified XML files:" # cat xml_files.txt - - name: Specify specific Works XML files - run: | - echo "./data/works/tei/315.xml" > xml_files.txt - echo "./data/works/tei/9501.xml" >> xml_files.txt - echo "./data/works/tei/nhsl/tei/9723.xml" >> xml_files.txt - echo "./data/works/tei/nhsl/tei/9724.xml" >> xml_files.txt - echo "./data/works/tei/10510.xml" >> xml_files.txt - echo "./data/works/tei/nhsl/tei/10511.xml" >> xml_files.txt - echo "Processing specified XML files:" - cat xml_files.txt + # - name: Specify specific Works XML files + # run: | + # echo "./data/works/tei/315.xml" > xml_files.txt + # echo "./data/works/tei/9501.xml" >> xml_files.txt + # echo "./data/works/tei/nhsl/tei/9723.xml" >> xml_files.txt + # echo "./data/works/tei/nhsl/tei/9724.xml" >> xml_files.txt + # echo "./data/works/tei/10510.xml" >> xml_files.txt + # echo "./data/works/tei/nhsl/tei/10511.xml" >> xml_files.txt + # echo "Processing specified XML files:" + # cat xml_files.txt # Step 5: Run XSLT Transformations and Merge into Single JSON - name: Run XSLT Transformations and Create Bulk JSON @@ -167,7 +167,7 @@ jobs: # Step 7: Upload files to S3 - name: Upload JSON file to S3 run: | - aws s3 cp bulk_data.json s3://srophe-syriaca-front-end/json-data/advancedsearchfields/bulk_data_works_.json + aws s3 cp bulk_data.json s3://srophe-syriaca-front-end/json-data/advancedsearchfields/bulk_data_persons_.json env: AWS_REGION: ${{ secrets.AWS_REGION }} AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}