Spaces:
Runtime error
Runtime error
Commit ·
6d7787d
1
Parent(s): dcfd930
Added CD to Hugging Face
Browse files5 unmodified lines6789101120 unmodified lines32333435363711 unmodified lines4950515 unmodified linesjob1:environment:name: testingenv:DATABASE_HOSTNAME: localhostDATABASE_PORT: 543220 unmodified lines--health-retries 5runs-on: ubuntu-lateststeps:- name: Pulling Codeuses: actions/checkout@v411 unmodified lines- name: Run testsrun: pytest5 unmodified lines678910111220 unmodified lines3334353637383911 unmodified lines515253545556575859606162636465666768697071727374755 unmodified linesjob1:environment:name: testingenv:DATABASE_HOSTNAME: localhostDATABASE_PORT: 543220 unmodified lines--health-retries 5runs-on: ubuntu-lateststeps:- name: Pulling Codeuses: actions/checkout@v411 unmodified lines- name: Run testsrun: pytestdeploy:runs-on: ubuntu-latestneeds: [job1]environment:name: deploysteps:- name: Pulling codeuses: actions/checkout@v4with:fetch-depth: 0- name: Push to Hugging Faceenv:HF_TOKEN: ${{ secrets.HF_TOKEN }}run: |git config --global user.email "ci@github.com"git config --global user.name "GitHub Actions"git remote add hf https://abdullah090809:$HF_TOKEN@huggingface.co/spaces/abdullah090809/fastapi-projectgit push hf main --force
.github/workflows/build-deploy.yml+24