Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First deploy attempt, here we go... #35

Merged
merged 41 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
1741bd5
bug fix
rk234 Apr 20, 2024
71931e1
another bug fix
rk234 Apr 21, 2024
d991a09
add markdown support for question options
rk234 Apr 21, 2024
a39a90d
dashboard sort fix
rk234 Apr 21, 2024
bc7fdc6
footer fix
rk234 Apr 27, 2024
53f02f9
Update prizes.tsx
arif24v Apr 29, 2024
1fc3da8
sponsors section
arif24v Apr 29, 2024
89e166a
Update sponsors.tsx
arif24v Apr 29, 2024
206f05c
sponsors
arif24v Apr 29, 2024
b3aca32
Update sponsors.tsx
arif24v Apr 29, 2024
2fa6bc0
Merge branch 'main' into maintenance-and-fixes
rk234 Apr 30, 2024
a7a2269
fixes and improvements
rk234 Apr 30, 2024
d4d1fc4
add indexes
rk234 Apr 30, 2024
bb7dca1
edit
rk234 Apr 30, 2024
1ce1dac
more about page tweaks
rk234 May 1, 2024
8a11427
more edits
rk234 May 1, 2024
231d1cf
more fixes and adjustments
rk234 May 1, 2024
6b67117
more edits
rk234 May 1, 2024
bd9d298
article images
May 4, 2024
c418331
article images
May 4, 2024
a9eb380
article image reorgnization
May 5, 2024
ef77b12
deleting accident file oops
May 5, 2024
f898682
comma separated roles
May 5, 2024
d3daa0e
aryan's articles
aryans-15 May 5, 2024
1c3cb58
Merge branch 'maintenance-and-fixes' of https://github.com/rk234/hoco…
aryans-15 May 5, 2024
974a8d3
more pictures + articles
arif24v May 5, 2024
684ed1c
team edits
rk234 May 17, 2024
e24566e
nav fix
rk234 May 17, 2024
625a9cd
merge with maintenance-and-fixes
rk234 May 18, 2024
7799bce
sponsors
rk234 May 18, 2024
650bb7b
add vercel svg
rk234 May 18, 2024
8f9b5cb
replace a faq
arif24v May 18, 2024
a5486fb
finishing articles
aryans-15 May 18, 2024
1ff26c2
fixed prizes
arif24v May 18, 2024
c0f8fa6
this took too long.
arif24v May 19, 2024
823c13e
update ignore
rk234 May 19, 2024
cf8b876
in progress
rk234 May 19, 2024
183c3e2
add middle schools and update function
rk234 May 19, 2024
39ca04c
remove teams w/ zero pts from leaderboard
rk234 May 19, 2024
bcc04f7
set up firebase hosting
rk234 May 20, 2024
7041157
Merge branch 'maintenance-and-fixes' of https://github.com/rk234/hoco…
rk234 May 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "hour-of-code-3a307"
}
}
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_HOUR_OF_CODE_3A307 }}
channelId: live
projectId: hour-of-code-3a307
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
on: pull_request
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_HOUR_OF_CODE_3A307 }}
projectId: hour-of-code-3a307
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ yarn-error.log*
next-env.d.ts

#secrets
.env
.env
.env.bak
10 changes: 10 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "out",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
3 changes: 2 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ const nextConfig = {
output: "export",
images: {
unoptimized: true
}
},
experimental: { missingSuspenseWithCSRBailout: false }
};

export default nextConfig;
Loading
Loading