diff --git a/.github/workflows/deploy_fastapi_backend.yml b/.github/workflows/deploy_fastapi_backend.yml index 422e8b26..902c752e 100644 --- a/.github/workflows/deploy_fastapi_backend.yml +++ b/.github/workflows/deploy_fastapi_backend.yml @@ -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 }}