Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyapotti committed Feb 7, 2024
1 parent 576a185 commit cff1ea5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'

- name: Install dependencies
run: npm install
run: npm install --legacy-peer-deps

- name: Generate build
run: npm run build

# Set the credentials from repository settings/secrets
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
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 }}
Expand All @@ -52,7 +52,7 @@ jobs:

# Invalidate Cloudfront
- name: invalidate
uses: chaitanyapotti/cloudfront-update-distribution@v2
uses: chaitanyapotti/cloudfront-update-distribution@v3
with:
cloudfront-distribution-id: ${{ secrets.DISTRIBUTION_DEMO }}
cloudfront-invalidation-path: '/*'
Expand Down

0 comments on commit cff1ea5

Please sign in to comment.