name: Sync to HuggingFace Space on: push: branches: [main] env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: sync: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 lfs: true - name: Push to HuggingFace Space env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git remote add hf https://i-Lang:${HF_TOKEN}@huggingface.co/spaces/i-Lang/TelegramGuard || true git push hf main --force