Skip to content

Commit

Permalink
test persons
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeier authored Nov 8, 2024
1 parent 792e0f8 commit c5a2165
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit c5a2165

Please sign in to comment.