From 7e4cc610152af09890fdb381cbaa878fabc77038 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 13 Mar 2026 06:48:27 -0400 Subject: [PATCH] refactor: remove AWS S3 hosting infrastructure Problem: site hosting is migrating from AWS S3 to Vercel, making the S3 deploy workflow and script unnecessary. Solution: remove `.github/workflows/aws.yaml` and `scripts/deploy.sh`. AWS secrets (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`) were also deleted from the repo settings. --- .github/workflows/aws.yaml | 41 -------------------------------------- scripts/deploy.sh | 3 --- 2 files changed, 44 deletions(-) delete mode 100644 .github/workflows/aws.yaml delete mode 100755 scripts/deploy.sh diff --git a/.github/workflows/aws.yaml b/.github/workflows/aws.yaml deleted file mode 100644 index ef57cd0..0000000 --- a/.github/workflows/aws.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Deploy to AWS S3 -on: - push: - branches: [main] - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup PNPM - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: 18 - cache: "pnpm" - - - name: Install dependencies - run: pnpm install - - - name: Build site - run: pnpm build - - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-2 - - - name: Deploy static site to S3 bucket - run: | - chmod +x scripts/deploy.sh - scripts/deploy.sh diff --git a/scripts/deploy.sh b/scripts/deploy.sh deleted file mode 100755 index a29dcf9..0000000 --- a/scripts/deploy.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -aws s3 sync ./dist/ s3://philipmruth.com --delete