From dc27246760806314b3ac67b148fdbb3ba4d576de Mon Sep 17 00:00:00 2001 From: Maxime David Date: Wed, 4 Dec 2024 23:46:20 +0000 Subject: [PATCH 1/2] bump: sls --- .github/workflows/aws-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws-deploy.yml b/.github/workflows/aws-deploy.yml index 34e3208c08..808f412de7 100644 --- a/.github/workflows/aws-deploy.yml +++ b/.github/workflows/aws-deploy.yml @@ -56,7 +56,7 @@ jobs: run: | cd ./result-builder && yarn install - name: install Serverless Framework - run: sudo yarn global add serverless@^3.27.0 --prefix /usr/local + run: sudo yarn global add serverless@^4.4.14 --prefix /usr/local - name: configure aws credentials uses: aws-actions/configure-aws-credentials@v4.0.2 with: From 61c250a1c7b9d944129a2e9fb30cfb0df5d4c9d6 Mon Sep 17 00:00:00 2001 From: Maxime David Date: Thu, 5 Dec 2024 00:08:50 +0000 Subject: [PATCH 2/2] fix: use serverless access key --- .github/workflows/aws-deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/aws-deploy.yml b/.github/workflows/aws-deploy.yml index 808f412de7..22a9e3e40e 100644 --- a/.github/workflows/aws-deploy.yml +++ b/.github/workflows/aws-deploy.yml @@ -68,6 +68,7 @@ jobs: AWS_REGION: ${{ inputs.region }} GH_AUTH_TOKEN: ${{ secrets.GH_AUTH_TOKEN }} LAMBDA_PERF_ENV: ${{ inputs.lambdaPerfEnv }} + SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }} run: sls deploy --force - name: Remove the cron job scheduler in staging (eu-west-1) if: "${{ inputs.region == 'eu-west-1' }}"