name: Deploy HuggingFace Space on: push: branches: - main jobs: deploy: runs-on: ubuntu-latest steps: - name: Baixar código do GitHub uses: actions/checkout@v3 with: fetch-depth: 0 lfs: true - name: Enviar para Hugging Face env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: | git config --global user.email "action@github.com" git config --global user.name "github-action" # Tente usar o caminho 'pmja' se 'devtools681420' falhar git remote add hf https://user:$HF_TOKEN@huggingface.co/spaces/pmja/dashboard git push --force hf main