We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a60364 commit 4835798Copy full SHA for 4835798
1 file changed
.github/workflows/fix_data.yml
@@ -0,0 +1,31 @@
1
+name: Manual Data Fix
2
+
3
+on:
4
+ workflow_dispatch: # This allows you to run it manually from a button
5
6
+jobs:
7
+ fix-data:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout Code
11
+ uses: actions/checkout@v4
12
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: '3.9'
17
18
+ - name: Install Dependencies
19
+ run: |
20
+ pip install pandas pyarrow fastparquet
21
22
+ - name: Run Fix Script
23
+ run: python fix_data.py
24
25
+ - name: Commit and Push Changes
26
27
+ git config --global user.name "github-actions[bot]"
28
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
29
+ git add public/data/
30
+ git commit -m "Fix: Separate product variants in parquet database" || echo "No changes to commit"
31
+ git push
0 commit comments