added token for HF
Browse files- .github/workflows/CI_CD.yml +1 -6
- tests/CI_CD.yml +0 -38
.github/workflows/CI_CD.yml
CHANGED
|
@@ -37,9 +37,4 @@ jobs:
|
|
| 37 |
- name: Push to Hub
|
| 38 |
env:
|
| 39 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 40 |
-
run: git push --force https://KLEB38:$HF_TOKEN@huggingface.co/KLEB38/
|
| 41 |
-
|
| 42 |
-
- name: Check large files
|
| 43 |
-
uses: ActionsDesk/lfs-warning@v2.0
|
| 44 |
-
with:
|
| 45 |
-
filesizelimit: 10485760 # 10MB
|
|
|
|
| 37 |
- name: Push to Hub
|
| 38 |
env:
|
| 39 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 40 |
+
run: git push --force https://KLEB38:$HF_TOKEN@huggingface.co/KLEB38/OC_P5_v2 main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tests/CI_CD.yml
DELETED
|
@@ -1,38 +0,0 @@
|
|
| 1 |
-
name: Python Installation Check
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
branches: [ main ]
|
| 6 |
-
pull_request:
|
| 7 |
-
branches: [ main ]
|
| 8 |
-
|
| 9 |
-
jobs:
|
| 10 |
-
|
| 11 |
-
build:
|
| 12 |
-
runs-on: ubuntu-latest
|
| 13 |
-
steps:
|
| 14 |
-
- uses: actions/checkout@v6
|
| 15 |
-
|
| 16 |
-
- name: Set up Python
|
| 17 |
-
uses: actions/setup-python@v6
|
| 18 |
-
with:
|
| 19 |
-
python-version: '3.13.5'
|
| 20 |
-
cache: 'pip'
|
| 21 |
-
|
| 22 |
-
- name: Install dependencies
|
| 23 |
-
run: |
|
| 24 |
-
python -m pip install --upgrade pip
|
| 25 |
-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
| 26 |
-
deploy:
|
| 27 |
-
needs: build
|
| 28 |
-
runs-on: ubuntu-latest
|
| 29 |
-
steps:
|
| 30 |
-
- uses: actions/checkout@v6
|
| 31 |
-
with:
|
| 32 |
-
fetch-depth: 0
|
| 33 |
-
lfs: true
|
| 34 |
-
|
| 35 |
-
- name: Push to Hub
|
| 36 |
-
env:
|
| 37 |
-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 38 |
-
run: git push --force https://KLEB38:$HF_TOKEN@huggingface.co/KLEB38/OC_P5 main
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|