CoolFace
Apppublic

ShuoDuan/FinTech_Self-Learning_Project

sourceHugging Faceupdated 11mo agoView on Hugging Face
0likes
deploy.yml24 linesDownload Raw Back to workflows
1name: Sync to Hugging Face hub2 3on:4  push:5    branches: [main]6  # Allow manual triggering from GitHub Actions tab7  workflow_dispatch:8 9jobs:10  sync-to-hub:11    runs-on: ubuntu-latest12    steps:13      - uses: actions/checkout@v314        with:15          fetch-depth: 016          lfs: true17 18      - name: Push to Hugging Face Hub19        env:20          HF_TOKEN: ${{ secrets.HF_TOKEN }}21        run: |22          git remote add space https://ShuoDuan:$HF_TOKEN@huggingface.co/spaces/ShuoDuan/FinTech_Self-Learning_Project || true23          git push --force space main24