SanskarModi commited on
Commit
adb4d2e
·
1 Parent(s): df08d9e

updated actions

Browse files
Files changed (2) hide show
  1. .github/workflows/deploy.yaml +11 -5
  2. .gitignore +6 -1
.github/workflows/deploy.yaml CHANGED
@@ -10,12 +10,18 @@ jobs:
10
  runs-on: ubuntu-latest
11
 
12
  steps:
13
- - name: Checkout
14
  uses: actions/checkout@v3
 
 
15
 
16
- - name: Push to HF Space
17
  run: |
18
- git config user.name "github-actions"
19
- git config user.email "actions@github.com"
 
 
 
 
20
  git remote add space https://SanskarModi:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/SanskarModi/sd-image-gen-toolkit
21
- git push space main --force
 
10
  runs-on: ubuntu-latest
11
 
12
  steps:
13
+ - name: Checkout Full History
14
  uses: actions/checkout@v3
15
+ with:
16
+ fetch-depth: 0
17
 
18
+ - name: Set up Git LFS
19
  run: |
20
+ git lfs install
21
+
22
+ - name: Push to HuggingFace Space
23
+ run: |
24
+ git config --global user.name "github-actions"
25
+ git config --global user.email "actions@github.com"
26
  git remote add space https://SanskarModi:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/SanskarModi/sd-image-gen-toolkit
27
+ git push space main --force
.gitignore CHANGED
@@ -206,4 +206,9 @@ marimo/_static/
206
  marimo/_lsp/
207
  __marimo__/
208
 
209
- src/assets
 
 
 
 
 
 
206
  marimo/_lsp/
207
  __marimo__/
208
 
209
+ src/assets
210
+ *.ckpt
211
+ *.safetensors
212
+ *.pt
213
+ *.bin
214
+ *.pth