Skip to content

Commit

Permalink
add serverless v3 as dev dependency and use it in workflow
Browse files Browse the repository at this point in the history
serverless v4 requires a license
  • Loading branch information
aymanizz committed May 30, 2024
1 parent 4c27575 commit 81f5fbe
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 990 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get install jq
npm install -g serverless
npm ci
- name: Configure AWS credentials
Expand All @@ -48,4 +47,4 @@ jobs:
aws secretsmanager get-secret-value --secret-id "streamingStatusApi/env/${{ inputs.environment }}" | jq -r ".SecretString" >> ${{ inputs.environment }}.env
- name: Deploy
run: sls deploy --stage ${{ inputs.environment }}
run: npx sls deploy --stage ${{ inputs.environment }}
Loading

0 comments on commit 81f5fbe

Please sign in to comment.