name: Deploy to Hugging Face Spaces on: push: branches: [master, main] jobs: deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Push to Hugging Face env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git remote add hf https://RayMelius:${HF_TOKEN}@huggingface.co/spaces/RayMelius/EuNEx || true git push hf HEAD:main --force