TelegramGuard / .github /workflows /sync-hf-datasets.yml
ilang-ai
fix: HF Space health check on port 7860 + Node.js 24 Actions warning
59295ba
raw
history blame contribute delete
541 Bytes
name: Sync to HuggingFace Datasets
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 Datasets
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add hf-datasets https://i-Lang:${HF_TOKEN}@huggingface.co/datasets/i-Lang/TelegramGuard || true
git push hf-datasets main --force