Spaces:
Sleeping
Sleeping
Download .github/workflows/deploy.yml from Becer/pd2_pricing: direct link, hf CLI and curl.
- Browser
- Download file 730 Bytes
-
https://huggingface.co/spaces/Becer/pd2_pricing/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/Becer/pd2_pricing/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/Becer/pd2_pricing/resolve/main/.github/workflows/deploy.yml
730 Bytes
| name: Deploy to Hugging Face Spaces | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # Pobiera pełną historię Git zamiast shallow clone | |
| - name: Push to Hugging Face Spaces | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| git config --global user.email "piekarzewski@gmail.com" | |
| git config --global user.name "Paweł" | |
| git remote add space https://huggingface.co/spaces/Becer/pd2_pricing | |
| git push --force https://USERNAME:${HF_TOKEN}@huggingface.co/spaces/Becer/pd2_pricing main | |