Adding Ask Ai Anthony with HF #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Anest58Ask Space to Hugging Face | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'spaces/anest58Ask/**' | |
| - '.github/workflows/sync-hf-space.yaml' | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Upload Space to Hugging Face | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| pip install -U "huggingface_hub[cli]" | |
| hf upload Andominus58/anest58Ask spaces/anest58Ask \ | |
| --repo-type=space \ | |
| --commit-message "Sync Space from GitHub ${{ github.sha }}" |