Skip to content

Commit

Permalink
place attestation test
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeier authored Nov 6, 2024
1 parent 901c22c commit 217ae63
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
# id: files

# Step 4: Identify the first 5 XML files for testing
- name: Identify first 5 XML files
run: |
find ./data/places/tei -name '*.xml' | head -n 250 > xml_files.txt
echo "Processing the first 250 XML files:"
cat xml_files.txt
# - name: Identify first 5 XML files
# run: |
# find ./data/places/tei -name '*.xml' | head -n 250 > xml_files.txt
# echo "Processing the first 250 XML files:"
# cat xml_files.txt

# - name: Specify specific Person XML files
# run: |
Expand All @@ -72,14 +72,14 @@ jobs:
# cat xml_files.txt

# - name: Specify specific Place XML files
# run: |
# echo "./data/places/tei/10.xml" > xml_files.txt
# echo "./data/places/tei/100.xml" >> xml_files.txt
# echo "./data/places/tei/1000.xml" >> xml_files.txt
# echo "./data/places/tei/1002.xml" >> xml_files.txt
# echo "./data/places/tei/1003.xml" >> xml_files.txt
# echo "Processing specified XML files:"
# cat xml_files.txt
run: |
echo "./data/places/tei/10.xml" > xml_files.txt
echo "./data/places/tei/100.xml" >> xml_files.txt
echo "./data/places/tei/1000.xml" >> xml_files.txt
echo "./data/places/tei/1002.xml" >> xml_files.txt
echo "./data/places/tei/1003.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 @@ -151,7 +151,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_places.json
aws s3 cp bulk_data.json s3://srophe-syriaca-front-end/json-data/advancedsearchfields/bulk_data_places_attestationTest.json
env:
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
Expand Down

0 comments on commit 217ae63

Please sign in to comment.