Skip to content

Commit

Permalink
Run scripts as module
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Apr 10, 2024
1 parent 7544f3e commit 3b8556d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/update-no-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run Puppeteer script
- name: Fetch JSTOR data
run: node imaginerio-etl/utils/fetchData.js
env:
JSTOR_USER: ${{ secrets.JSTOR_USER }}
Expand All @@ -57,8 +57,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc heimdal-dev
sudo pip install arcgis turfpy lxml geojson
python3 imaginerio-etl/scripts/viewcones.py
pip install arcgis --no-deps
pip install turfpy lxml geojson
python3 -m imaginerio-etl.scripts.viewcones.py
- name: Install libvips
if: steps.compare_data.outputs.file_created == 'true'
Expand All @@ -70,7 +71,7 @@ jobs:
if: steps.compare_data.outputs.file_created == 'true'
run: |
pip install -r requirements.txt
python3 imaginerio-etl/scripts/iiif.py
python3 imaginerio-etl.scripts.iiif.py
- name: Commit and push changes
run: |
Expand Down

0 comments on commit 3b8556d

Please sign in to comment.