Genesis Sync
Genesis Zero deploy
d3c7afd
name: Sync Genesis Zero HuggingFace
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push a HuggingFace
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git config --global user.email "sync@genesis-zero.com"
git config --global user.name "Genesis Sync"
# Borrar físicamente carpetas con binarios
rm -rf tests/ docs/ examples/ notebooks/ scripts/ media/ benchmark/
# Crear README con encabezado HF
cat > README.md << 'EOF'
---
title: Genesis Zero
emoji: 🧬
colorFrom: purple
colorTo: blue
sdk: docker
pinned: false
---
# Genesis Zero
Un organismo cognitivo sintético en evolución continua.
EOF
# Rama huérfana — sin historial
git checkout --orphan hf-deploy
git add -A
git commit -m "Genesis Zero deploy"
git remote add hf "https://api:${HF_TOKEN}@huggingface.co/spaces/ASTAROTH0405/genesis-zero"
git push hf hf-deploy:main --force