purge data from history
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -41,6 +41,10 @@ jobs:
|
|
| 41 |
git commit -m "Configure Git LFS for data folder"
|
| 42 |
fi
|
| 43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
- name: Re-add data files with LFS filters
|
| 45 |
run: |
|
| 46 |
git add --renormalize data || true
|
|
|
|
| 41 |
git commit -m "Configure Git LFS for data folder"
|
| 42 |
fi
|
| 43 |
|
| 44 |
+
- name: Rewrite history to move data files into LFS
|
| 45 |
+
run: |
|
| 46 |
+
git lfs migrate import --yes --include="data/**,*.txt,*.csv,*.nc" --include-ref=refs/heads/main
|
| 47 |
+
|
| 48 |
- name: Re-add data files with LFS filters
|
| 49 |
run: |
|
| 50 |
git add --renormalize data || true
|