Spaces:
Runtime error
Runtime error
Download .github/workflows/deploy.yml from TheEdict/VerdantClaw-Final: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/spaces/TheEdict/VerdantClaw-Final/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/TheEdict/VerdantClaw-Final/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/TheEdict/VerdantClaw-Final/resolve/main/.github/workflows/deploy.yml
561 Bytes
| name: Deploy to HF Space | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run tests | |
| run: npm test | |
| - name: Deploy to HF Space | |
| uses: huggingface/hub-deploy@v1 | |
| with: | |
| repo_id: ${{ secrets.HF_REPO_ID }} | |
| token: ${{ secrets.HF_TOKEN }} | |