File size: 550 Bytes
b98ce8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: CI/CD

on:
  push:
    tags: ["v[0-9].[0-9]+.[0-9]+"]
    branches: ["*"]

jobs:
  huggingface_deploy:
    name: Deploy to Hugging Face
    runs-on: ubuntu-latest
    if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
          lfs: true
      - name: Push to Hugging Face
        env:
          HF_TOKEN: ${{ secrets.HF_TOKEN }}
        run: git push https://hasaniqbal777:[email protected]/spaces/hasaniqbal777/OpenFactCheck main