mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Added change of directory to backend before running install requirements and sls deploy
This commit is contained in:
parent
4b0c544556
commit
257a49af9f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy_fastapi_backend.yml
vendored
4
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements/base.txt
|
||||
cd backend && pip install -r requirements/base.txt
|
||||
|
||||
- name: AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
|
|
@ -33,4 +33,4 @@ jobs:
|
|||
aws-region: eu-west-2
|
||||
|
||||
- name: Deploy to AWS Lambda via Serverless
|
||||
run: sls deploy --stage ${{ github.ref_name }}
|
||||
run: cd backend && sls deploy --stage ${{ github.ref_name }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue