Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
adamscarberry committed Nov 20, 2024
1 parent 83c4d38 commit 8eceaa4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/cwbi-dev-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ jobs:
- name: Git clone the repository
uses: actions/checkout@v3

# Step 2: Set up Node.js (React app requires Node.js)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Use the appropriate version of Node.js for your project

# Step 3: Install dependencies
- name: Install Dependencies
run: npm install

# Step 4: Build the React app for production
- name: Build React App
run: npm run build

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -41,7 +55,8 @@ jobs:
# uses: aws-actions/amazon-ecr-login@v2
# with:
# mask-password: 'true'
- name: Build Image; Push to S3

- name: Deploy to S3
env:
S3_BUCKET: cumulus-dev
run: npm run deploy-develop

0 comments on commit 8eceaa4

Please sign in to comment.