leoniegasteiner/Lunar-Regolith-Database
0
1name: Sync to Hugging Face hub2 3on:4 push:5 branches: [main]6 workflow_dispatch:7 8jobs:9 sync-to-hub:10 runs-on: ubuntu-latest11 steps:12 - name: Checkout GitHub Repository13 uses: actions/checkout@v314 15 - name: Deploy to Hugging Face (Bypassing PDF)16 env:17 HF_TOKEN: ${{ secrets.HF_TOKEN }}18 run: |19 rm -f "User Manual.pdf"20 rm -rf .git21 22 git init23 git checkout -b main24 git config user.name "GitHub Action"25 git config user.email "action@github.com"26 git add .27 git commit -m "Deploy to Hugging Face (PDF Excluded)"28 29 git push --force https://leoniegasteiner:${HF_TOKEN}@huggingface.co/spaces/leoniegasteiner/Lunar-Regolith-Database main