Update deploy.yml #2
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: Deploy to Hugging Face Space 🚀 | |
| on: | |
| push: | |
| branches: | |
| - main # or your chosen branch | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the repo | |
| uses: actions/checkout@v3 | |
| - name: Deploy to Hugging Face Space | |
| uses: huggingface/huggingface_hub@v0.18.0 | |
| with: | |
| repo-type: space | |
| space-id: daniellegauthier/RGB-Root-Matriz-Color-Plotter | |
| huggingface_token: ${{ secrets.SYNC_TO_HUGGING_FACE_HUB }} # 👈 securely inject the token |