giswqs commited on
Commit
e3f4ca3
·
1 Parent(s): 34e8218

Add HF deployment

Browse files
Files changed (2) hide show
  1. README.md +14 -0
  2. workflows/sync-hf.yml +20 -0
README.md CHANGED
@@ -1,3 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # leafmap-voila
2
 
3
  Build a docker image for using leafmap with Voila
 
1
+ ---
2
+ title: Leafmap Voila
3
+ emoji: 🚀
4
+ colorFrom: red
5
+ colorTo: red
6
+ sdk: docker
7
+ app_port: 8866
8
+ tags:
9
+ - leafmap
10
+ pinned: false
11
+ short_description: A Voila template for leafmap
12
+ license: mit
13
+ ---
14
+
15
  # leafmap-voila
16
 
17
  Build a docker image for using leafmap with Voila
workflows/sync-hf.yml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ push:
4
+ branches: [main]
5
+
6
+ # to run this workflow manually from the Actions tab
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ sync-to-hub:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
+ lfs: true
17
+ - name: Push to hub
18
+ env:
19
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: git push --force https://giswqs:[email protected]/spaces/giswqs/Amazon-ASDI main