Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
a19hu committed Oct 22, 2024
2 parents 2863857 + 9f7b73f commit e377dd8
Show file tree
Hide file tree
Showing 7,172 changed files with 843,078 additions and 29,250 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
58 changes: 58 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: CI/CD Pipeline for React.js inside 'frontend' folder

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

# - name: Navigate to frontend and install dependencies
# run: |
# cd frontend
# npm install

# - name: Run tests
# run: |
# cd frontend
# npm test

# - name: Build React app
# run: |
# cd frontend
# npm run build
# - name: Print environment variables
# run: |
# echo "NO: ${{ secrets.NO }}"
# echo "Server IP: ${{ secrets.SERVER_IP }}"
# echo "Server Username: ${{ secrets.SERVER_USERNAME }}"

# - name: Deploy to server via SSH
# run: |
# ssh
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.SERVER_IP }}
# username: ${{ secrets.SERVER_USERNAME }}
# password: ${{ secrets.SERVER_PASSWORD }}
# script: |
# cd /home/cse-tech/ashu
# cd frontend
# git pull origin main
# npm install
# npm run build
# pm2 restart react-app
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
BUILD_NAME = iitj_tree
GIT_COMMIT=$(git log -1 --pretty=format:%h)
name= "2"


say_hello:
@echo "hel world"
git log -1
@echo "this is all the commit ${GIT_COMMIT}"
echo "Hello, ${name}!"
8 changes: 0 additions & 8 deletions backend/family_tree/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions backend/family_tree/family_tree/asgi.py

This file was deleted.

7 changes: 0 additions & 7 deletions backend/family_tree/family_tree/schema.py

This file was deleted.

144 changes: 0 additions & 144 deletions backend/family_tree/family_tree/settings.py

This file was deleted.

27 changes: 0 additions & 27 deletions backend/family_tree/family_tree/urls.py

This file was deleted.

16 changes: 0 additions & 16 deletions backend/family_tree/family_tree/wsgi.py

This file was deleted.

6 changes: 0 additions & 6 deletions backend/family_tree/schema.py

This file was deleted.

9 changes: 0 additions & 9 deletions backend/family_tree/student/admin.py

This file was deleted.

6 changes: 0 additions & 6 deletions backend/family_tree/student/apps.py

This file was deleted.

23 changes: 0 additions & 23 deletions backend/family_tree/student/models.py

This file was deleted.

Loading

0 comments on commit e377dd8

Please sign in to comment.