Skip to content

Commit

Permalink
Auto deploy to HF
Browse files Browse the repository at this point in the history
  • Loading branch information
IliaLarchenko committed Jul 7, 2024
1 parent df3bc94 commit c63d9aa
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: Install dependencies
Expand All @@ -28,3 +28,9 @@ jobs:
run: |
pip install pytest
pytest
- name: Push to hub
if: success()
env:
HF_TOKEN: ${{ secrets.HF_API_KEY }}
run: |
git push https://IliaLarchenko:[email protected]/spaces/IliaLarchenko/albumentations-demo main

0 comments on commit c63d9aa

Please sign in to comment.