Skip to content

Commit

Permalink
debug package size
Browse files Browse the repository at this point in the history
  • Loading branch information
finlay-jisc committed Nov 21, 2024
1 parent b94cd99 commit 8b022b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,10 @@ jobs:
working-directory: ./api
run: |
export SERVERLESS_LICENSE_KEY=`aws ssm get-parameter --name ${{ secrets.SERVERLESS_LICENSE_KEY_SSM_PARAMETER_ARN }} --query "Parameter.Value" --output text`
npx sls package --stage int
ls -lh .serverless
cd .serverless
unzip octopus-api.zip -d octopus-api
du -a octopus-api | sort -n -r | head -n 20
cd ..
npm run deploy:int

0 comments on commit 8b022b6

Please sign in to comment.