Skip to content

Commit

Permalink
Feature/adhithya/deployment for admin portal (#175)
Browse files Browse the repository at this point in the history
* added temp file

* added test deployment script

* renamed branch

* updated branch

* added small lines

* changed branch to main
  • Loading branch information
adhi0331 authored Nov 20, 2023
1 parent bce4bc8 commit febf5c9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/admin-portal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Vercel Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
2 changes: 1 addition & 1 deletion admin-portal/src/app/(authorized)/mentees/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default function MenteesPage() {
return (
<>
<main>
<div>{'This is the mentees page!'}</div>
<div>{'This is the mentees page! Here you will find all information regarding the mentees.'}</div>
</main>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion admin-portal/src/app/(authorized)/mentors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default function MentorsPage() {
return (
<>
<main>
<div>{'This is the mentors page!'}</div>
<div>{'This is the mentors page! Here you will find all information regarding the mentors'}</div>
</main>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion admin-portal/src/app/(authorized)/sessions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default function SessionsPage() {
return (
<>
<main>
<div>{'This is the sessions page!'}</div>
<div>{'This is the sessions page! Here you will find all information regarding the sessions'}</div>
</main>
</>
);
Expand Down

0 comments on commit febf5c9

Please sign in to comment.