name: Push Production to HuggingFace on: push: branches: [main] # run this workflow manuall from the Actions tab workflow_dispatch: jobs: sync-to-hub: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Deploy Production (main) to HuggingFace env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: git push --force https://trgardos:$HF_TOKEN@huggingface.co/spaces/dl4ds/dl4ds_tutor main:main