KLEB38's picture
added token for HF
d5bef9f
raw
history blame contribute delete
847 Bytes
name: Python Installation Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.13.5'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
lfs: true
- name: Push to Hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: git push --force https://KLEB38:$HF_TOKEN@huggingface.co/KLEB38/OC_P5_v2 main