From 660cbfba3e77a445f0436269ec5dc8ac4e5f8eee Mon Sep 17 00:00:00 2001 From: Miguel Velasco Date: Thu, 22 Jan 2026 20:40:06 -0500 Subject: [PATCH 1/4] readmeupdate --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd4aac7..13269a5 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,6 @@ SOFTWARE. **Made with ❤️ for a better retirement** -⭐ Star this repo if you find it helpful! +⭐ Star this repo if you find it helpful!! From 8137ca1e1a4f48f35e74d34554dba4b67f10ce3e Mon Sep 17 00:00:00 2001 From: Miguel Velasco Date: Thu, 22 Jan 2026 20:42:14 -0500 Subject: [PATCH 2/4] readmeupdate --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 13269a5..dd4aac7 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,6 @@ SOFTWARE. **Made with ❤️ for a better retirement** -⭐ Star this repo if you find it helpful!! +⭐ Star this repo if you find it helpful! From 4bf20ad31dcf9e27def20fd19cf7569ae92a97ce Mon Sep 17 00:00:00 2001 From: Miguel Velasco Date: Thu, 22 Jan 2026 20:54:13 -0500 Subject: [PATCH 3/4] docs: restructure project and add CI workflow --- .github/workflows/deploy.yml | 59 ++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..38783b8 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,59 @@ +name: Build and Deploy + +on: + push: + branches: + - main + # Allow manual trigger from the Actions tab + workflow_dispatch: + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build Web Application + run: npm run build:web + + - name: Prepare Distribution (images) + run: | + chmod +x prepare-dist.sh + ./prepare-dist.sh + + # Deployment to S3 + # Note: You need to set these secrets in your GitHub Repository Settings: + # AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_S3_BUCKET, AWS_REGION + # - name: Deploy to S3 + # if: github.ref == 'refs/heads/main' + # uses: jakejarvis/s3-sync-action@master + #with: + # args: --follow-symlinks --delete + # env: + # AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} + # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # AWS_REGION: ${{ secrets.AWS_REGION }} + # SOURCE_DIR: 'dist' + + # Optional: Invalidate CloudFront Cache if you use it + # - name: Invalidate CloudFront + # if: github.ref == 'refs/heads/main' + # uses: chetan/invalidate-cloudfront-action@v2 + # env: + # DISTRIBUTION: ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} + # PATHS: '/*' + # AWS_REGION: ${{ secrets.AWS_REGION }} + # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} From 89329539a8baac93e0cf0a666687e346327ed9b9 Mon Sep 17 00:00:00 2001 From: Miguel Velasco Date: Thu, 22 Jan 2026 21:00:12 -0500 Subject: [PATCH 4/4] ci: Add pull_request trigger for main branch to deploy workflow. --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 38783b8..cd5a619 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,9 @@ on: push: branches: - main + pull_request: + branches: + - main # Allow manual trigger from the Actions tab workflow_dispatch: