Spaces:
No application file
No application file
Download huggingface-deploy.yml from Humbl3m33/WEB.BUILDING.GENIOUS: direct link, hf CLI and curl.
- Browser
- Download file 634 Bytes
-
https://huggingface.co/spaces/Humbl3m33/WEB.BUILDING.GENIOUS/resolve/70dbc8380ebac43520e6a2f6369078aaf4fb208e/huggingface-deploy.yml
- Command line
-
hf download hf://spaces/Humbl3m33/WEB.BUILDING.GENIOUS@70dbc8380ebac43520e6a2f6369078aaf4fb208e/huggingface-deploy.yml
-
curl -L -o huggingface-deploy.yml https://huggingface.co/spaces/Humbl3m33/WEB.BUILDING.GENIOUS/resolve/70dbc8380ebac43520e6a2f6369078aaf4fb208e/huggingface-deploy.yml
634 Bytes
| name: Deploy to HuggingFace Spaces | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '18' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build application | |
| run: npm run build | |
| - name: Deploy to HuggingFace Spaces | |
| uses: huggingface/huggingface_hub@main | |
| with: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| space_id: ${{ secrets.HF_SPACE_ID }} | |
| dockerfile: "Dockerfile" | |