Skip to content

Update page.tsx

Update page.tsx #2

Workflow file for this run

name: Deploy to AWS S3
on:
push:
branches:
- test-dep
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # or any version required by your project
- name: Install dependencies
run: npm install # or 'yarn' if you use yarn
- name: Build static site
run: npm run build # or your specific build command
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Deploy static site to S3 bucket
run: aws s3 sync build/ s3://test-fin-deployments --delete # Adjust the source directory if different