From b57ce85fdf9a79b2da510870f112e991fe0c791d Mon Sep 17 00:00:00 2001 From: Adrian Monge Date: Fri, 21 Jun 2024 23:33:38 +0200 Subject: [PATCH] bugfix: Force poetry lock to fix issue (#4) * task: Forced poetry lock * task: Rollback to trigger on push * task: $GITHUB_ENV no longer needed --- .github/workflows/deploy-dev.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 5549b03ab..fa41eaa1a 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -32,6 +32,18 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.AWS_REGION }} + # Install & configure poetry + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + virtualenvs-create: false + virtualenvs-in-project: false + + # Run Poetry lock --no-update + - name: Poetry Lock + run: | + poetry lock --directory backend --no-update + # Create and activate the virtual environment - name: Set up Python virtual environment run: |