Use configure aws action
This commit is contained in:
@@ -44,11 +44,15 @@ jobs:
|
|||||||
node-version: "24"
|
node-version: "24"
|
||||||
cache: ""
|
cache: ""
|
||||||
|
|
||||||
|
- name: Configure AWS credentials
|
||||||
|
uses: aws-actions/configure-aws-credentials@v4
|
||||||
|
with:
|
||||||
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
aws-region: ${{ var.AWS_REGION }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm i
|
run: npm i
|
||||||
|
|
||||||
- name: Set vars
|
|
||||||
run: AWS_ACCOUNT=${{ vars.AWS_ACCOUNT }}
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
run: npm run-script cdk -- deploy
|
run: npm run-script cdk -- deploy
|
||||||
|
|||||||
Reference in New Issue
Block a user