phuochungus commited on
Commit
84728b9
1 Parent(s): 0b4f36d

update workflow with cached

Browse files
.github/workflows/deploy.yml CHANGED
@@ -12,11 +12,10 @@ jobs:
12
  deploy:
13
  runs-on: ubuntu-latest
14
  steps:
15
- - uses: actions/checkout@v3
16
  with:
17
  fetch-depth: 0
18
- lfs: true
19
  - name: Push to hub
20
  env:
21
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
22
- run: git push https://phuochungus:$HF_TOKEN@huggingface.co/spaces/phuochungus/RTMDet_PRODUCTION main --force
 
12
  deploy:
13
  runs-on: ubuntu-latest
14
  steps:
15
+ - uses: nschloe/action-checkout-with-lfs-cache@v1
16
  with:
17
  fetch-depth: 0
 
18
  - name: Push to hub
19
  env:
20
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
21
+ run: git push https://phuochungus:$HF_TOKEN@huggingface.co/spaces/phuochungus/RTMDet_PRODUCTION main
.github/workflows/test.yml CHANGED
@@ -11,9 +11,7 @@ jobs:
11
  runs-on: ubuntu-latest
12
 
13
  steps:
14
- - uses: actions/checkout@v3
15
- with:
16
- lfs: true
17
  - name: Set up Python 3.8
18
  uses: actions/setup-python@v3
19
  with:
 
11
  runs-on: ubuntu-latest
12
 
13
  steps:
14
+ - uses: nschloe/action-checkout-with-lfs-cache@v1
 
 
15
  - name: Set up Python 3.8
16
  uses: actions/setup-python@v3
17
  with: