Thiago Hersan
commited on
Commit
•
1462d79
1
Parent(s):
4e75693
action to push to hf spaces
Browse files
.github/workflows/deploy-hf.yml
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Deploy to Hugging Face spaces
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- main
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
build:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
steps:
|
13 |
+
- name: Checkout Dev Repo
|
14 |
+
uses: actions/checkout@v3
|
15 |
+
with:
|
16 |
+
fetch-depth: 0
|
17 |
+
lfs: true
|
18 |
+
|
19 |
+
- name: Push to HF
|
20 |
+
env:
|
21 |
+
HFTOKEN: ${{ secrets.HFTOKEN }}
|
22 |
+
|
23 |
+
run: |
|
24 |
+
git remote add hf https://thiagohersan:$HFTOKEN@huggingface.co/spaces/IDMNYU/9103H-2024F-face-align-gradio
|
25 |
+
git push hf main
|