Skip to content

Commit

Permalink
[CICD] included continuous deployment using github action
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjin1 committed Feb 10, 2025
1 parent 2cc1833 commit 9061303
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,6 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

# 2. Setup Node.js
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16' # Adjust the Node.js version as needed

# 3. Build and test the backend
- name: Build Backend
working-directory: ./backend
run: |
echo "Installing backend dependencies..."
npm install
echo "Building backend..."
npm run build
# 4. Build and test the frontend
- name: Build Frontend
working-directory: ./frontend
run: |
echo "Installing frontend dependencies..."
npm install
echo "Building frontend..."
npm run build
# 5. Deploy the backend using the secret deploy hook
- name: Deploy Backend to Render
env:
Expand Down

0 comments on commit 9061303

Please sign in to comment.