Spaces:
Sleeping
Sleeping
| name: Deploy to Hugging Face Spaces | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Push to Hugging Face Space | |
| run: | | |
| git config --global user.email "[email protected]" | |
| git config --global user.name "Za_heer" | |
| git remote add space https://Za-heer:${HF_TOKEN}@huggingface.co/spaces/Za-heer/AI_Assignment_checker | |
| git push --force space main | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |