Skip to content

remove cache control for index.html #64

remove cache control for index.html

remove cache control for index.html #64

Workflow file for this run

name: "deploy"
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: "deploy"
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/cache@v3
name: pnpm cache
with:
path: ${{ env.PNPM_HOME }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/.npmrc') }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- run: pnpm install --frozen-lockfile
- run: pnpm build
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@master
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: "us-east-1"
- name: Deploy to AWS
run: pnpm cdk deploy StacklineTakehome --require-approval=never
env:
CDK_DEFAULT_ACCOUNT: ${{ secrets.AWS_ACCOUNT }}
CDK_DEFAULT_REGION: "us-east-1"