barreloflube commited on
Commit
f9009da
·
1 Parent(s): 1170ca2

chore: remove Hugging Face deployment workflow

Browse files
.github/workflows/push-to-huggingface.yml DELETED
@@ -1,34 +0,0 @@
1
- name: Push to Hugging Face Space
2
-
3
- on:
4
- push:
5
- branches:
6
- - gh-pages # Set to your default branch if different
7
- workflow_dispatch: # Allow manual triggering of the workflow
8
-
9
- jobs:
10
- push-to-huggingface:
11
- runs-on: ubuntu-latest
12
- steps:
13
- - name: Checkout code
14
- uses: actions/checkout@v3
15
- with:
16
- fetch-depth: 0
17
-
18
- - name: Configure Git
19
- run: |
20
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
21
- git config --global user.name "GitHub Actions"
22
-
23
- - name: Push to Hugging Face Space
24
- env:
25
- HF_TOKEN: ${{ secrets.HF_TOKEN }}
26
- HF_SPACE: ${{ secrets.HF_SPACE }} # Format: username/space-name
27
- run: |
28
- echo "Pushing to Hugging Face Space: ${HF_SPACE}"
29
-
30
- # Set URL with token for authentication
31
- git remote add space https://api-key:${HF_TOKEN}@huggingface.co/spaces/${HF_SPACE}
32
-
33
- # Push to the gh-pages branch of the Space
34
- git push --force space gh-pages:gh-pages
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "name": "react-vite-ui",
3
  "private": true,
4
- "homepage": "https://sheer-8kp.pages.dev/",
5
  "version": "0.0.1",
6
  "type": "module",
7
  "scripts": {
 
1
  {
2
  "name": "react-vite-ui",
3
  "private": true,
 
4
  "version": "0.0.1",
5
  "type": "module",
6
  "scripts": {