diff --git a/.github/workflows/aws-deploy.yml b/.github/workflows/aws-deploy.yml index 34e3208c08..22a9e3e40e 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: @@ -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' }}"