LTX2.3-Studio / .github /workflows /deploy-space.yml
techfreakworm's picture
ci: optional deploy-on-main to HF Space
5bf7128 unverified
raw
history blame contribute delete
640 Bytes
name: Deploy to HF Space
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: false
- name: Configure git LFS
run: |
git lfs install --skip-smudge
- name: Push to HF Space
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_USER: ${{ secrets.HF_USER }}
HF_SPACE: ltx2.3-aio
run: |
git remote add space "https://$HF_USER:$HF_TOKEN@huggingface.co/spaces/$HF_USER/$HF_SPACE"
git push --force space main