Thiago Hersan
commited on
Commit
β’
579352f
1
Parent(s):
918cb22
add github 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:[email protected]/spaces/acervos-digitais/arquigrafia-tts-eng-por-gradio
|
25 |
+
git push hf main
|