name: Sync to Hugging Face on: push: branches: [main] jobs: sync-to-hub: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Push to Hugging Face env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: git push -f https://mssaidat:$HF_TOKEN@huggingface.co/spaces/mssaidat/AIEngineerProjects main