IliaLarchenko commited on
Commit
c63d9aa
1 Parent(s): df3bc94

Auto deploy to HF

Browse files
Files changed (1) hide show
  1. .github/workflows/pythonapp.yml +9 -3
.github/workflows/pythonapp.yml CHANGED
@@ -8,9 +8,9 @@ jobs:
8
  runs-on: ubuntu-latest
9
 
10
  steps:
11
- - uses: actions/checkout@v1
12
- - name: Set up Python 3.7
13
- uses: actions/setup-python@v1
14
  with:
15
  python-version: 3.7
16
  - name: Install dependencies
@@ -28,3 +28,9 @@ jobs:
28
  run: |
29
  pip install pytest
30
  pytest
 
 
 
 
 
 
 
8
  runs-on: ubuntu-latest
9
 
10
  steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Set up Python
13
+ uses: actions/setup-python@v5
14
  with:
15
  python-version: 3.7
16
  - name: Install dependencies
 
28
  run: |
29
  pip install pytest
30
  pytest
31
+ - name: Push to hub
32
+ if: success()
33
+ env:
34
+ HF_TOKEN: ${{ secrets.HF_API_KEY }}
35
+ run: |
36
+ git push https://IliaLarchenko:$HF_TOKEN@huggingface.co/spaces/IliaLarchenko/albumentations-demo main