Skip to content

Commit

Permalink
Merge pull request #3 from HackAtUCI/setup/nextjs-frontend
Browse files Browse the repository at this point in the history
feat: create nextjs app and template home page
  • Loading branch information
alexanderl19 authored Nov 4, 2023
2 parents e38cda6 + 8ef2744 commit baf3d72
Show file tree
Hide file tree
Showing 48 changed files with 6,077 additions and 1,526 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy Preview

on:
pull_request:

permissions:
contents: read
pull-requests: write

jobs:
Site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: amondnet/vercel-action@v25
with:
vercel-version: 30.2.2
github-comment: |
<table>
<tr>
<td><strong>Name</strong></td>
<td>Hack at UCI Site</td>
</tr>
<tr>
<td><strong>Preview</strong></td>
<td><a href='{{deploymentUrl}}'>Visit Preview</a></td>
</tr>
<tr>
<td><strong>Commit</strong></td>
<td>{{deploymentCommit}}</td>
</tr>
</table>
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ vars.VERCEL_ORG_ID}}
vercel-project-id: ${{ vars.VERCEL_PROJECT_ID_SITE}}
24 changes: 24 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy Production

on:
push:
branches:
- main

permissions:
contents: read
pull-requests: write

jobs:
Site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: amondnet/vercel-action@v25
with:
vercel-version: 30.2.2
github-comment: false
vercel-args: "--prod"
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ vars.VERCEL_ORG_ID}}
vercel-project-id: ${{ vars.VERCEL_PROJECT_ID_SITE}}
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"useTabs": true,
"tabWidth": 4
}
3 changes: 0 additions & 3 deletions apps/docs/.eslintrc.js

This file was deleted.

28 changes: 0 additions & 28 deletions apps/docs/README.md

This file was deleted.

Binary file removed apps/docs/app/favicon.ico
Binary file not shown.
50 changes: 0 additions & 50 deletions apps/docs/app/globals.css

This file was deleted.

22 changes: 0 additions & 22 deletions apps/docs/app/layout.tsx

This file was deleted.

Loading

0 comments on commit baf3d72

Please sign in to comment.