TheEdict's picture
Initial deployment to VerdantClaw-Final
09eb9d4 verified
Raw
History Blame Contribute Delete
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 }}