FE_Dev / .github /workflows /deploy-test.yml
GitHub Actions
Deploy from GitHub Actions [dev] - 2025-10-31 07:28:50
68f7925
name: Deploy to Hugging Face Test
on:
push:
branches:
- feature/ui-test
workflow_dispatch:
env:
HF_USERNAME: ${{ secrets.HF_USERNAME }}
HF_TOKEN: ${{ secrets.HF_TOKEN }}
HF_SPACE_NAME: FE_Test
jobs:
sync-to-huggingface-mock:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Deploy to Hugging Face Space
uses: ./.github/actions/deploy-to-hf
with:
environment: test
branch: ${{ github.ref_name }}
hf-username: ${{ env.HF_USERNAME }}
hf-token: ${{ env.HF_TOKEN }}
hf-space-name: ${{ env.HF_SPACE_NAME }}