Skip to content

Commit 0cae4cf

Browse files
committed
fix workflow
sort dests
1 parent 6e8dd52 commit 0cae4cf

File tree

3 files changed

+714
-714
lines changed

3 files changed

+714
-714
lines changed

.github/workflows/actions.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: run main.py
1+
name: Aggregate Smartraveller Data
22

33
on:
44
schedule:
@@ -19,15 +19,16 @@ jobs:
1919
- name: Set up Python 3.10
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.10.10
22+
allow-prereleases: true
23+
python-version: 3.12
2324

2425
- name: Install requirements
2526
run: |
26-
python -m pip install --upgrade pip
27-
pip install -r requirements.txt
27+
pip install pipenv
28+
pipenv install --deploy
2829
2930
- name: Run aggregation script
30-
run: python smartraveller/aggregate.py
31+
run: pipenv run python ./smartraveller/aggregate.py
3132

3233
- name: Commit aggregated data
3334
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)