Skip to content

Commit 39825b0

Browse files
committed
updated cleaning of history
1 parent 8dbbae7 commit 39825b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/clean_history.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
python-version: [ "3.10" ]
16+
python-version: [ "3.12" ]
1717
os: [ ubuntu-latest ]
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121

2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v2
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626

2727
- name: Install package
2828
run: python -m pip install .
2929

3030
- name: Upload Projects of specified period
31-
run: geopephub clean-history
32-
# By default it will keep 90 days of history
31+
run: geopephub clean-history --days 365
32+
# By default it will keep 365 days of history
3333
env:
3434
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
3535
POSTGRES_HOST: ${{ secrets.POSTGRES_HOST }}

0 commit comments

Comments
 (0)